llvm/test/CodeGen/PowerPC/inline-asm-s-modifier.ll
Nemanja Ivanovic 4141af9452 Provide a test case for rl259798
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259835 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-04 22:36:10 +00:00

11 lines
242 B
LLVM

; RUN: llc -mcpu=pwr7 -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s
define void @test() {
entry:
call void asm sideeffect "mtfsb1 ${0:s}", "i"(i32 7), !srcloc !1
ret void
}
; CHECK: #APP
; CHECK-NEXT: mtfsb1 25
!1 = !{i32 40}