]> granicus.if.org Git - llvm/commitdiff
[LSR] Tweak loop-strength-reduce-crash test. Test-only change.
authorJustin Lebar <jlebar@google.com>
Thu, 10 Nov 2016 22:37:13 +0000 (22:37 +0000)
committerJustin Lebar <jlebar@google.com>
Thu, 10 Nov 2016 22:37:13 +0000 (22:37 +0000)
Run opt instead of llc, and update the comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286515 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/loop-strength-reduce-crash.ll

index 1117f97850021d84801eb358e099727329957196..b5be6fef52beae50c91c3db469c52afc490f4822 100644 (file)
@@ -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"