You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
15
external/llvm/test/CodeGen/X86/and-load-fold.ll
vendored
Normal file
15
external/llvm/test/CodeGen/X86/and-load-fold.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llc -mtriple=x86_64-unknown-unknown -mcpu=generic < %s | FileCheck %s
|
||||
|
||||
; Verify that the DAGCombiner doesn't wrongly remove the 'and' from the dag.
|
||||
|
||||
define i8 @foo(<4 x i8>* %V) {
|
||||
; CHECK-LABEL: foo:
|
||||
; CHECK: pand
|
||||
; CHECK: ret
|
||||
entry:
|
||||
%Vp = bitcast <4 x i8>* %V to <3 x i8>*
|
||||
%V3i8 = load <3 x i8>, <3 x i8>* %Vp, align 4
|
||||
%0 = and <3 x i8> %V3i8, <i8 undef, i8 undef, i8 95>
|
||||
%1 = extractelement <3 x i8> %0, i64 2
|
||||
ret i8 %1
|
||||
}
|
Reference in New Issue
Block a user