mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
e3433e6c11
Differential Revision: https://reviews.llvm.org/D26014 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285371 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
402 B
LLVM
16 lines
402 B
LLVM
; RUN: opt -instcombine %s -S | FileCheck %s
|
|
|
|
; CHECK-LABEL: patatino
|
|
; CHECK-NEXT: ret <8 x i64*> undef
|
|
define <8 x i64*> @patatino() {
|
|
%el = getelementptr i64, <8 x i64*> undef, <8 x i64> undef
|
|
ret <8 x i64*> %el
|
|
}
|
|
|
|
; CHECK-LABEL: patatino2
|
|
; CHECK-NEXT: ret <8 x i64*> undef
|
|
define <8 x i64*> @patatino2() {
|
|
%el = getelementptr inbounds i64, i64* undef, <8 x i64> undef
|
|
ret <8 x i64*> %el
|
|
}
|