summaryrefslogtreecommitdiff
path: root/include/llvm/User.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-16 21:22:35 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-16 21:22:35 +0000
commit07a267faec7bd77fdece44f242cb4270120e0ef2 (patch)
tree18ee0980df1b39df7fbd2805f38579fc828d7775 /include/llvm/User.h
parentd938935dca297f3f65dddf283f7c55030be6133c (diff)
downloadllvm-07a267faec7bd77fdece44f242cb4270120e0ef2.tar.gz
llvm-07a267faec7bd77fdece44f242cb4270120e0ef2.tar.bz2
llvm-07a267faec7bd77fdece44f242cb4270120e0ef2.tar.xz
Set sub-register <undef> flags more accurately.
When widening an existing <def,reads-undef> operand to a super-register, it may be necessary to clear the <undef> flag because the wider register is now read-modify-write through the instruction. Conversely, it may be necessary to add an <undef> flag when the coalescer turns a full-register def into a sub-register def, but the larger register wasn't live before the instruction. This happens in test/CodeGen/ARM/coalesce-subregs.ll, but the test is too small for the <undef> flags to affect the generated code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156951 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/User.h')
0 files changed, 0 insertions, 0 deletions