blob: ecab65c0e92e2f037b84cc9d0b2cce5b39dfa540 [file] [log] [blame]
; RUN: llc < %s -march=xcore > %t1.s
; RUN: grep "get r11, id" %t1.s | count 1
declare i32 @llvm.xcore.getid()
define i32 @test() {
%result = call i32 @llvm.xcore.getid()
ret i32 %result
}