Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"
[oota-llvm.git] / test / FrontendC / 2004-03-16-AsmRegisterCrash.c
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3 int foo() {
4 #ifdef __ppc__
5   register int X __asm__("r1");
6 #else
7   register int X __asm__("ebx");
8 #endif
9   return X;
10 }