summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-12-01 19:57:17 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-12-01 19:57:17 +0000
commit856d1928a8fe20b5b6a104a98756cced4db3c5e4 (patch)
tree75487fb1b281f1140dee1eebdafea9dd5807cd2d /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py
parent354bebda483228cec497ec10ce15299462187154 (diff)
downloadbcm5719-llvm-856d1928a8fe20b5b6a104a98756cced4db3c5e4.tar.gz
bcm5719-llvm-856d1928a8fe20b5b6a104a98756cced4db3c5e4.zip
AMDGPU: Optimize VOP2 operand legalization
Don't use commuteInstruction, and don't commute if doing so will not improve legality. Skip the more complex checks for literal operands and constant bus restrictions, which are not a concern for VOP2 instructions because src1 does not accept SGPRs or constants and few implicitly read vcc. This gets called quite a few times and the attempts at commuting are a significant fraction of the time spent in SIFixSGPRCopies, so it's somewhat worthwhile to optimize. With this patch and others leading up to it, this reduces the compile time of SIFixSGPRCopies on some of the LuxMark 2 kernels from ~8ms to ~5ms on my system. llvm-svn: 254452
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud