1 ; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static < %s \ 2 ; RUN: -mattr=+micromips | FileCheck %s 3 4 @a = external thread_local global i32 5 6 define i32 @foo() nounwind readonly { 7 entry: 8 ; CHECK: .set push 9 ; CHECK: .set mips32r2 10 ; CHECK: rdhwr 11 ; CHECK: .set pop 12 13 %0 = load i32, i32* @a, align 4 14 ret i32 %0 15 } 16