[llvm-commits] [llvm] r98173 - /llvm/trunk/test/Other/constant-fold-gep.ll

Dan Gohman gohman at apple.com
Wed Mar 10 11:00:55 PST 2010


Author: djg
Date: Wed Mar 10 13:00:54 2010
New Revision: 98173

URL: http://llvm.org/viewvc/llvm-project?rev=98173&view=rev
Log:
Fix whitespace.

Modified:
    llvm/trunk/test/Other/constant-fold-gep.ll

Modified: llvm/trunk/test/Other/constant-fold-gep.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/constant-fold-gep.ll?rev=98173&r1=98172&r2=98173&view=diff
==============================================================================
--- llvm/trunk/test/Other/constant-fold-gep.ll (original)
+++ llvm/trunk/test/Other/constant-fold-gep.ll Wed Mar 10 13:00:54 2010
@@ -118,9 +118,9 @@
 ; TO: @N = constant i64* inttoptr (i64 8 to i64*)
 ; TO: @O = constant i64* inttoptr (i64 8 to i64*)
 
- at M = constant i64* getelementptr (i64 *null, i32 1)
- at N = constant i64* getelementptr ({ i64, i64 } *null, i32 0, i32 1)
- at O = constant i64* getelementptr ([2 x i64] *null, i32 0, i32 1)
+ at M = constant i64* getelementptr (i64* null, i32 1)
+ at N = constant i64* getelementptr ({ i64, i64 }* null, i32 0, i32 1)
+ at O = constant i64* getelementptr ([2 x i64]* null, i32 0, i32 1)
 
 ; Duplicate all of the above as function return values rather than
 ; global initializers.
@@ -457,14 +457,14 @@
 ; SCEV:   -->  sizeof(i64)
 
 define i64* @fM() nounwind {
-  %t = bitcast i64* getelementptr (i64 *null, i32 1) to i64*
+  %t = bitcast i64* getelementptr (i64* null, i32 1) to i64*
   ret i64* %t
 }
 define i64* @fN() nounwind {
-  %t = bitcast i64* getelementptr ({ i64, i64 } *null, i32 0, i32 1) to i64*
+  %t = bitcast i64* getelementptr ({ i64, i64 }* null, i32 0, i32 1) to i64*
   ret i64* %t
 }
 define i64* @fO() nounwind {
-  %t = bitcast i64* getelementptr ([2 x i64] *null, i32 0, i32 1) to i64*
+  %t = bitcast i64* getelementptr ([2 x i64]* null, i32 0, i32 1) to i64*
   ret i64* %t
 }





More information about the llvm-commits mailing list