R600/SI: Clear lds bit on MUBUF instructions used for private stores
[oota-llvm.git] / test / Bitcode / 2006-12-11-Cast-ConstExpr.ll
index 4c768d63cb6a4071feeb278aff10c8ff8a211701..9c238db17a8383b23e9bfb8e0574c980e3d5a09f 100644 (file)
@@ -1,10 +1,11 @@
 ; This test ensures that we get a bitcast constant expression in and out,
 ; not a sitofp constant expression. 
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \
-; RUN:   grep {bitcast (}
+; RUN: llvm-as < %s | llvm-dis | FileCheck %s
+; RUN: verify-uselistorder < %s -preserve-bc-use-list-order
+; CHECK: bitcast (
 
-%G = external global int
+@G = external global i32
 
-float %tryit(int %A) {
-   ret float bitcast( int ptrtoint (int* %G to int) to float)
+define float @tryit(i32 %A) {
+   ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
 }