summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LowerInvoke.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2013-04-03 21:46:05 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2013-04-03 21:46:05 +0000
commite9b501641131cff5e4a72fab30bea06176fcded7 (patch)
treec72a4336ebf86f0f93547ae744d9280b023610e9 /llvm/lib/Transforms/Utils/LowerInvoke.cpp
parentbc43cab51d8ceaebb0b56605f6b609ec3c0055e8 (diff)
downloadbcm5719-llvm-e9b501641131cff5e4a72fab30bea06176fcded7.tar.gz
bcm5719-llvm-e9b501641131cff5e4a72fab30bea06176fcded7.zip
X86 cost model: Vector shifts are expensive in most cases
The default logic does not correctly identify costs of casts because they are marked as custom on x86. For some cases, where the shift amount is a scalar we would be able to generate better code. Unfortunately, when this is the case the value (the splat) will get hoisted out of the loop, thereby making it invisible to ISel. radar://13130673 radar://13537826 llvm-svn: 178703
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerInvoke.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud