summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-30 06:32:25 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-30 06:32:25 +0000
commit6ebc06f70284958a22ab9680e5e5ff21368821d4 (patch)
tree5b88e2cfa3c0218d851ec4a04c45ffa5f7a3a014 /llvm
parentfcb9b8b0b77d3364e274368a40b67b848bbf7c6e (diff)
downloadbcm5719-llvm-6ebc06f70284958a22ab9680e5e5ff21368821d4.tar.gz
bcm5719-llvm-6ebc06f70284958a22ab9680e5e5ff21368821d4.zip
Make the input legal.
llvm-svn: 33655
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll b/llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll
index 24c8cbe17ed..f39e62a65ed 100644
--- a/llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll
+++ b/llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll
@@ -1,7 +1,7 @@
; RUN: llvm-as < %s | llc -march=ppc32 &&
; RUN: llvm-as < %s | llc -march=ppc64
-define i16 @test(i8* %data, i16* %data) {
- %tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %data, i32 0, i16* %data ) ; <i16> [#uses=1]
+define i16 @test(i8* %d1, i16* %d2) {
+ %tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %d1, i32 0, i16* %d2 ) ; <i16> [#uses=1]
ret i16 %tmp237
}
OpenPOWER on IntegriCloud