[llvm] r286515 - [LSR] Tweak loop-strength-reduce-crash test. Test-only change.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 14:37:13 PST 2016


Author: jlebar
Date: Thu Nov 10 16:37:13 2016
New Revision: 286515

URL: http://llvm.org/viewvc/llvm-project?rev=286515&view=rev
Log:
[LSR] Tweak loop-strength-reduce-crash test.  Test-only change.

Run opt instead of llc, and update the comment.

Modified:
    llvm/trunk/test/CodeGen/X86/loop-strength-reduce-crash.ll

Modified: llvm/trunk/test/CodeGen/X86/loop-strength-reduce-crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/loop-strength-reduce-crash.ll?rev=286515&r1=286514&r2=286515&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/loop-strength-reduce-crash.ll (original)
+++ llvm/trunk/test/CodeGen/X86/loop-strength-reduce-crash.ll Thu Nov 10 16:37:13 2016
@@ -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"




More information about the llvm-commits mailing list