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

Konstantin Zhuravlyov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 14:50:59 PDT 2016


kzhuravl added inline comments.


================
Comment at: test/CodeGen/ARM/dag-combine-ldst.ll:2
+; RUN: llc < %s -mtriple=arm-eabi -mattr=+v4t -O0 | FileCheck %s -check-prefix=CHECK_O0
+; RUN: llc < %s -mtriple=arm-eabi -mattr=+v4t -O1 | FileCheck %s -check-prefix=CHECK_O1
+
----------------
qcolombet wrote:
> You'll need to add -check-prefix=CHECK as well, otherwise the "plain" CHECK lines won't be checked.
I did not know that. Thanks!


https://reviews.llvm.org/D19268





More information about the llvm-commits mailing list