]> granicus.if.org Git - llvm/commitdiff
Not all buildbots seem to dump the nuw flag in SDAG
authorReid Kleckner <rnk@google.com>
Fri, 13 Oct 2017 17:00:49 +0000 (17:00 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 13 Oct 2017 17:00:49 +0000 (17:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315710 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/merge-store-partially-alias-loads.ll

index 729818bd9ba07b6811ae643ddce4b8a052223865..ec1f03100f5ff8e072b6bb21a39fe56e1ca0e3a9 100644 (file)
@@ -16,7 +16,7 @@
 ; DBGDAG-LABEL: Optimized legalized selection DAG: BB#0 'merge_store_partial_overlap_load:'
 ; DBGDAG: [[ENTRYTOKEN:t[0-9]+]]: ch = EntryToken
 ; DBGDAG-DAG: [[BASEPTR:t[0-9]+]]: i64,ch = CopyFromReg [[ENTRYTOKEN]],
-; DBGDAG-DAG: [[ADDPTR:t[0-9]+]]: i64 = add nuw [[BASEPTR]], Constant:i64<2>
+; DBGDAG-DAG: [[ADDPTR:t[0-9]+]]: i64 = add {{(nuw )?}}[[BASEPTR]], Constant:i64<2>
 
 ; DBGDAG-DAG: [[LD2:t[0-9]+]]: i16,ch = load<LD2[%tmp81](align=1)> [[ENTRYTOKEN]], [[BASEPTR]], undef:i64
 ; DBGDAG-DAG: [[LD1:t[0-9]+]]: i8,ch = load<LD1[%tmp12]> [[ENTRYTOKEN]], [[ADDPTR]], undef:i64