diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2016-02-04 22:36:10 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2016-02-04 22:36:10 +0000 |
commit | 4141af945226bb09ffd6ea324178484dd338432f (patch) | |
tree | 347c5bfdcba7961979132c9a6fbe42112cb9b17b /test/CodeGen | |
parent | 6f9d22989f5c3075704d20e21cdf6fb0af1aa30d (diff) |
Provide a test case for rl259798
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/PowerPC/inline-asm-s-modifier.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/inline-asm-s-modifier.ll b/test/CodeGen/PowerPC/inline-asm-s-modifier.ll new file mode 100644 index 00000000000..c8b00b6deb6 --- /dev/null +++ b/test/CodeGen/PowerPC/inline-asm-s-modifier.ll @@ -0,0 +1,10 @@ +; 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} |