Remove another -disable-correct-folding use.
[oota-llvm.git] / test / CodeGen / X86 / dollar-name.ll
1 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$bar)} | count 1
2 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$qux)} | count 1
3 ; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$hen)} | count 1
4 ; PR1339
5
6 @"$bar" = global i32 zeroinitializer
7 @"$qux" = external global i32
8
9 define i32 @"$foo"() nounwind {
10   %m = load i32* @"$bar"
11   %n = load i32* @"$qux"
12   %t = add i32 %m, %n
13   %u = call i32 @"$hen"(i32 %t)
14   ret i32 %u
15 }
16
17 declare i32 @"$hen"(i32 %a)