From c687a348705db41e709b56b8b578d6e9ee1fa75c Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 13 Oct 2017 16:13:23 +0000 Subject: Update test to expect nuw flag in SDAG dump, fixes test after r315690 llvm-svn: 315698 --- llvm/test/CodeGen/X86/merge-store-partially-alias-loads.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm') 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 [[ENTRYTOKEN]], [[BASEPTR]], undef:i64 ; DBGDAG-DAG: [[LD1:t[0-9]+]]: i8,ch = load [[ENTRYTOKEN]], [[ADDPTR]], undef:i64 -- cgit v1.2.3