1 ; RUN: llc < %s -march=mips -relocation-model=static | FileCheck %s
3 define i32 @main() nounwind readnone {
5 %x = alloca i32, align 4 ; <i32*> [#uses=2]
6 volatile store i32 2, i32* %x, align 4
7 %0 = volatile load i32* %x, align 4 ; <i32> [#uses=1]
8 ; CHECK: lui $3, %hi($JTI0_0)
10 ; CHECK: addiu $3, $3, %lo($JTI0_0)
11 switch i32 %0, label %bb4 [