summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/cconv
diff options
context:
space:
mode:
authorVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>2016-02-29 15:58:12 +0000
committerVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>2016-02-29 15:58:12 +0000
commit29620aca3e85cb16434069c86b43a4baf8accc67 (patch)
treec41ea4e7ba6f719b67cc83588e96fbd90b49d241 /llvm/test/CodeGen/Mips/cconv
parent611eb829532da35c19f6ac85818eae06e5534b5e (diff)
downloadbcm5719-llvm-29620aca3e85cb16434069c86b43a4baf8accc67.tar.gz
bcm5719-llvm-29620aca3e85cb16434069c86b43a4baf8accc67.zip
[mips] Do not use SLL for ANY_EXTEND nodes as the high bits are undefined.
Reviewers: dsanders Subscribers: dsanders, llvm-commits Differential Revision: http://reviews.llvm.org/D15420 llvm-svn: 262230
Diffstat (limited to 'llvm/test/CodeGen/Mips/cconv')
-rw-r--r--llvm/test/CodeGen/Mips/cconv/return-struct.ll3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/Mips/cconv/return-struct.ll b/llvm/test/CodeGen/Mips/cconv/return-struct.ll
index 8decd04f089..6240fc191b6 100644
--- a/llvm/test/CodeGen/Mips/cconv/return-struct.ll
+++ b/llvm/test/CodeGen/Mips/cconv/return-struct.ll
@@ -158,9 +158,6 @@ entry:
; sret pointer is already in $4
; N32-DAG: lui [[PTR_HI:\$[0-9]+]], %hi(struct_128xi16)
; N32-DAG: addiu [[PTR:\$[0-9]+]], [[PTR_HI]], %lo(struct_128xi16)
-; FIXME: This signext isn't necessary. Like integers, pointers are
-; but unlike integers, pointers cannot have the signext attribute.
-; N32-DAG: sll $5, [[PTR]], 0
; N32: jal memcpy
; sret pointer is already in $4
OpenPOWER on IntegriCloud