summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/ScriptInterpreter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-14 00:01:01 +0000
committerChris Lattner <sabre@nondot.org>2011-01-14 00:01:01 +0000
commit0c34cb429ed90af168b1c2a8384401feb2e0085f (patch)
treeaa24bdb6242d5b2eeba7eb4abc054b224b2dbadd /lldb/source/Interpreter/ScriptInterpreter.cpp
parent088b30aa48aa8951ddfc04a23499671198b132f6 (diff)
downloadbcm5719-llvm-0c34cb429ed90af168b1c2a8384401feb2e0085f.tar.gz
bcm5719-llvm-0c34cb429ed90af168b1c2a8384401feb2e0085f.zip
fix PR8961 - a fast isel miscompilation where we'd insert a new instruction
after sext's generated for addressing that got folded. Previously we compiled test5 into: _test5: ## @test5 ## BB#0: movq -8(%rsp), %rax ## 8-byte Reload movq (%rdi,%rax), %rdi addq %rdx, %rdi movslq %esi, %rax movq %rax, -8(%rsp) ## 8-byte Spill movq %rdi, %rax ret which is insane and wrong. Now we produce: _test5: ## @test5 ## BB#0: movslq %esi, %rax movq (%rdi,%rax), %rax addq %rdx, %rax ret llvm-svn: 123414
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud