diff options
| author | Reid Kleckner <rnk@google.com> | 2017-10-13 16:13:23 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-10-13 16:13:23 +0000 |
| commit | c687a348705db41e709b56b8b578d6e9ee1fa75c (patch) | |
| tree | 2ca2f357441565a2cc64b7516699bb786f142abb /llvm | |
| parent | 53be3224b2f3fdd359e16e5280d1c56defb7b04c (diff) | |
| download | bcm5719-llvm-c687a348705db41e709b56b8b578d6e9ee1fa75c.tar.gz bcm5719-llvm-c687a348705db41e709b56b8b578d6e9ee1fa75c.zip | |
Update test to expect nuw flag in SDAG dump, fixes test after r315690
llvm-svn: 315698
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/CodeGen/X86/merge-store-partially-alias-loads.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/merge-store-partially-alias-loads.ll b/llvm/test/CodeGen/X86/merge-store-partially-alias-loads.ll index fe642e317f5..729818bd9ba 100644 --- a/llvm/test/CodeGen/X86/merge-store-partially-alias-loads.ll +++ b/llvm/test/CodeGen/X86/merge-store-partially-alias-loads.ll @@ -1,6 +1,6 @@ ; REQUIRES: asserts ; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck -check-prefix=X86 %s -; RUN: llc -mtriple=x86_64-unknown-linux-gnu -debug-only=isel < %s 2>&1 | FileCheck -check-prefix=DBGDAG %s +; RUN: llc -mtriple=x86_64-unknown-linux-gnu -debug-only=isel < %s -o /dev/null 2>&1 | FileCheck -check-prefix=DBGDAG %s ; It's OK to merge the load / store of the first 2 components, but ; they must not be placed on the same chain after merging. @@ -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 [[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 |

