diff options
author | Dale Johannesen <dalej@apple.com> | 2008-11-07 01:28:02 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-11-07 01:28:02 +0000 |
commit | d0a7c0eb006563aa47d9e4338986c7766b191a2c (patch) | |
tree | 7971bcf9cef3aa08e40cdcaa4ea8a0f6badad4e9 /test/DebugInfo/2008-11-06-Mem2Reg.ll | |
parent | 8126a3f4f8d04e45f8fa21d4c76c128477ac4398 (diff) | |
download | external_llvm-d0a7c0eb006563aa47d9e4338986c7766b191a2c.zip external_llvm-d0a7c0eb006563aa47d9e4338986c7766b191a2c.tar.gz external_llvm-d0a7c0eb006563aa47d9e4338986c7766b191a2c.tar.bz2 |
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/2008-11-06-Mem2Reg.ll')
0 files changed, 0 insertions, 0 deletions