Enable constant propagation for more math functions
[oota-llvm.git] / test / Feature / comdat.ll
index 6b94a418582f670ab153941a51dfce18fb064d34..c2a9d639629306cf6521b9b85782d5d6db4530ed 100644 (file)
@@ -6,10 +6,16 @@ $f = comdat any
 $f2 = comdat any
 ; CHECK-NOT: f2
 
-@v = global i32 0, comdat $f
-; CHECK: @v = global i32 0, comdat $f
+@v = global i32 0, comdat($f)
+; CHECK: @v = global i32 0, comdat($f)
 
-define void @f() comdat $f {
+@a = alias i32* @v
+; CHECK: @a = alias i32* @v{{$}}
+
+define void @f() comdat($f) {
   ret void
 }
-; CHECK: define void @f() comdat $f
+; CHECK: define void @f() comdat {
+
+$i = comdat largest
+@i = internal global i32 0, comdat($i)