summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2019-06-06 08:56:26 +0000
committerSam Parker <sam.parker@arm.com>2019-06-06 08:56:26 +0000
commit7cc580f5e95e7e5dd84db2c276f58709258cd120 (patch)
tree767ec67006d21df6b87a8d653494c020711cae17 /llvm/test/CodeGen/Hexagon
parent54eeb3f40ab1f68619083cfce3e0dff2521b7cef (diff)
downloadbcm5719-llvm-7cc580f5e95e7e5dd84db2c276f58709258cd120.tar.gz
bcm5719-llvm-7cc580f5e95e7e5dd84db2c276f58709258cd120.zip
[SCEV] Use wrap flags in InsertBinop
If the given SCEVExpr has no (un)signed flags attached to it, transfer these to the resulting instruction or use them to find an existing instruction. Differential Revision: https://reviews.llvm.org/D61934 llvm-svn: 362687
Diffstat (limited to 'llvm/test/CodeGen/Hexagon')
-rw-r--r--llvm/test/CodeGen/Hexagon/loop-idiom/memmove-rt-check.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Hexagon/loop-idiom/memmove-rt-check.ll b/llvm/test/CodeGen/Hexagon/loop-idiom/memmove-rt-check.ll
index ce2c17e4198..299a910dd51 100644
--- a/llvm/test/CodeGen/Hexagon/loop-idiom/memmove-rt-check.ll
+++ b/llvm/test/CodeGen/Hexagon/loop-idiom/memmove-rt-check.ll
@@ -3,7 +3,7 @@
; Make sure that we generate correct runtime checks.
; CHECK: b7.old:
-; CHECK: [[LEN:%[0-9]+]] = shl i32 %len, 3
+; CHECK: [[LEN:%[0-9]+]] = shl nuw i32 %len, 3
; CHECK: [[SRC:%[0-9]+]] = ptrtoint i8* %src to i32
; CHECK: [[DST:%[0-9]+]] = ptrtoint i8* %dst to i32
; CHECK: [[ULT:%[0-9]+]] = icmp ult i32 [[DST]], [[SRC]]
OpenPOWER on IntegriCloud