[PATCH] D19268: [DAGCombiner] Do not remove the load of stored values when optimizations are disabled

Marianne Mailhot-Sarrasin via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 10:15:52 PDT 2016


mamai added inline comments.

================
Comment at: test/CodeGen/SystemZ/swift-return.ll:55
@@ -56,2 +54,3 @@
+; CHECK-O0: la %r2, 168(%r15)
 ; CHECK-O0: brasl %r14, gen2
 ; CHECK-O0-DAG: l %r{{.*}}, 184(%r15)
----------------
qcolombet wrote:
> Where did the lgr instruction go?
It looks like `la %[[REG1:r[0-9]+]], 168(%r15)` and `lgr %r2, %[[REG1]]` have been merged into `la %r2, 168(%r15)`. I supposed it was a side effect of my change, not an issue. But I am not familiar with SystemZ assembly, so I could be wrong.


Repository:
  rL LLVM

http://reviews.llvm.org/D19268





More information about the llvm-commits mailing list