summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-11-10 22:37:13 +0000
committerJustin Lebar <jlebar@google.com>2016-11-10 22:37:13 +0000
commitea27ef69699ef54034a300230a0a038de04853df (patch)
treee7c4ed05de96e7d22d9a54f400911c2857d5e3ec /llvm
parentd93620bf4d5e165999ad1c3cec2a2fdb02f56218 (diff)
downloadbcm5719-llvm-ea27ef69699ef54034a300230a0a038de04853df.tar.gz
bcm5719-llvm-ea27ef69699ef54034a300230a0a038de04853df.zip
[LSR] Tweak loop-strength-reduce-crash test. Test-only change.
Run opt instead of llc, and update the comment. llvm-svn: 286515
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/loop-strength-reduce-crash.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/loop-strength-reduce-crash.ll b/llvm/test/CodeGen/X86/loop-strength-reduce-crash.ll
index 1117f978500..b5be6fef52b 100644
--- a/llvm/test/CodeGen/X86/loop-strength-reduce-crash.ll
+++ b/llvm/test/CodeGen/X86/loop-strength-reduce-crash.ll
@@ -1,7 +1,8 @@
-; RUN: llc < %s -o /dev/null
+; RUN: opt -loop-reduce < %s -o /dev/null
-; Check that this doesn't crash (by virtue of using INT64_MAX as a constant in
-; the loop).
+; LSR doesn't actually do anything on this input; just check that it doesn't
+; crash while building the compatible type for the IV (by virtue of using
+; INT64_MAX as a constant in the loop).
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.12.0"
OpenPOWER on IntegriCloud