aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-07-11 18:55:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-07-11 18:55:07 +0000
commitb17122859be828b3d0a7fa787b4ade2258edd473 (patch)
tree3ea7343e9ef170e81462cd8984112e26e1258d70 /lldb/source/Commands/CommandObjectFrame.cpp
parent3aab6a86a263369fc49a6180f9163d0077435a02 (diff)
downloadllvm-b17122859be828b3d0a7fa787b4ade2258edd473.zip
llvm-b17122859be828b3d0a7fa787b4ade2258edd473.tar.gz
llvm-b17122859be828b3d0a7fa787b4ade2258edd473.tar.bz2
InstrEmitter::EmitSubregNode() optimize extract_subreg in this case:
r1025 = s/zext r1024, 4 r1026 = extract_subreg r1025, 4 to a copy: r1026 = copy r1024 This is correct. However it uses TII->isCoalescableExtInstr() which can return true for instructions which essentially does a sext_in_reg so this can end up with an illegal copy where the source and destination register classes do not match. Add a check to avoid it. Sorry, no test case possible at this time. rdar://11849816 llvm-svn: 160059
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions