aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-08 20:20:03 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-08 20:20:03 +0000
commitb7994fedcbcf375ee70b0ad11e1c962c0ccfc1ae (patch)
tree5037fa3d841e5db04d7418bf400004a67ae0d0d6 /tools/llvm-objdump/llvm-objdump.cpp
parented744827041a97336461abdc91b43fd0eafb869c (diff)
Prevent potential NOREX bug.
A GR8_NOREX virtual register is created when extrating a sub_8bit_hi sub-register: %vreg2<def> = COPY %vreg1:sub_8bit_hi; GR8_NOREX:%vreg2 %GR64_ABCD:%vreg1 TEST8ri_NOREX %vreg2, 1, %EFLAGS<imp-def>; GR8_NOREX:%vreg2 If such a live range is ever split, its register class must not be inflated to GR8. The sub-register copy can only target GR8_NOREX. I dont have a test case for this theoretical bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions