The constant initialization for globals in NVPTX is generated as an
[oota-llvm.git] / test / Feature / optnone-llc.ll
index f19fa88f9b2677780460670e83d01919257daeff..b848b19d528b940a33a94d8d6323c4f49a2a0597 100644 (file)
@@ -17,7 +17,7 @@ entry:
   br label %while.cond
 
 while.cond:                                       ; preds = %while.body, %entry
-  %0 = load i32* %x.addr, align 4
+  %0 = load i32, i32* %x.addr, align 4
   %dec = add nsw i32 %0, -1
   store i32 %dec, i32* %x.addr, align 4
   %tobool = icmp ne i32 %0, 0