Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / ptrtoint-constexpr.ll
1 ; RUN: llc < %s -mtriple=i386-linux | FileCheck %s
2         %union.x = type { i64 }
3
4 ; CHECK:        .globl r
5 ; CHECK: r:
6 ; CHECK: .quad  r&4294967295
7
8 @r = global %union.x { i64 ptrtoint (%union.x* @r to i64) }, align 4
9
10 ; CHECK:        .globl x
11 ; CHECK: x:
12 ; CHECK: .quad  ((0+1)&4294967295)*3
13
14 @x = global i64 mul (i64 3, i64 ptrtoint (i2* getelementptr (i2, i2* null, i64 1) to i64))