[llvm] r222120 - Fix CR/LF line endings in test case.

Bob Wilson bob.wilson at apple.com
Mon Nov 17 00:00:45 PST 2014


Author: bwilson
Date: Mon Nov 17 02:00:45 2014
New Revision: 222120

URL: http://llvm.org/viewvc/llvm-project?rev=222120&view=rev
Log:
Fix CR/LF line endings in test case.

Modified:
    llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll

Modified: llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll?rev=222120&r1=222119&r2=222120&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll (original)
+++ llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll Mon Nov 17 02:00:45 2014
@@ -1,16 +1,16 @@
-; RUN: llc < %s -O2 -march=x86-64 | FileCheck %s
-; Checks that a zeroing mov is inserted for the trunc/zext pair even when
-; the source of the zext is an AssertSext node
-; PR20494
-
-define i64 @main(i64 %a) { 
-; CHECK-LABEL: main
-; CHECK: movl %e{{..}}, %eax
-; CHECK: ret
-  %or = or i64 %a, -2
-  %trunc = trunc i64 %or to i32
-  br label %l
-l:
-  %ext = zext i32 %trunc to i64
-  ret i64 %ext
-}
+; RUN: llc < %s -O2 -march=x86-64 | FileCheck %s
+; Checks that a zeroing mov is inserted for the trunc/zext pair even when
+; the source of the zext is an AssertSext node
+; PR20494
+
+define i64 @main(i64 %a) {
+; CHECK-LABEL: main
+; CHECK: movl %e{{..}}, %eax
+; CHECK: ret
+  %or = or i64 %a, -2
+  %trunc = trunc i64 %or to i32
+  br label %l
+l:
+  %ext = zext i32 %trunc to i64
+  ret i64 %ext
+}





More information about the llvm-commits mailing list