summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-11-07 01:28:02 +0000
committerDale Johannesen <dalej@apple.com>2008-11-07 01:28:02 +0000
commit7aad542d358a0a07512c46f755d457e80a4976fc (patch)
tree164ecbeb215cc6e1e643b5907c8c587e581a9310 /llvm/lib/Transforms
parenteb4268d72fa08d7e35c1efdb833a5e0469f2a420 (diff)
downloadbcm5719-llvm-7aad542d358a0a07512c46f755d457e80a4976fc.tar.gz
bcm5719-llvm-7aad542d358a0a07512c46f755d457e80a4976fc.zip
When we're doing a compare of load-AND-constant to 0
(e.g. a bitfield test) narrow the load as much as possible. The has the potential to avoid unnecessary partial-word load-after-store conflicts, which cause stalls on several targets. Also a size win on x86 (testb vs testl). llvm-svn: 58825
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud