Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/Mips/rdhwr-directives.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | afa8332a0e37 |
line wrap: on
line source
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static < %s | FileCheck %s @a = external thread_local global i32 define i32 @foo() nounwind readonly { entry: ; CHECK: .set push ; CHECK: .set mips32r2 ; CHECK: rdhwr ; CHECK: .set pop %0 = load i32* @a, align 4 ret i32 %0 }