1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=x86_64-unknown-unknown -mcpu=generic < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; Verify that the DAGCombiner doesn't wrongly remove the 'and' from the dag. 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine i8 @foo(<4 x i8>* %V) { 6*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: foo: 7*9880d681SAndroid Build Coastguard Worker; CHECK: pand 8*9880d681SAndroid Build Coastguard Worker; CHECK: ret 9*9880d681SAndroid Build Coastguard Workerentry: 10*9880d681SAndroid Build Coastguard Worker %Vp = bitcast <4 x i8>* %V to <3 x i8>* 11*9880d681SAndroid Build Coastguard Worker %V3i8 = load <3 x i8>, <3 x i8>* %Vp, align 4 12*9880d681SAndroid Build Coastguard Worker %0 = and <3 x i8> %V3i8, <i8 undef, i8 undef, i8 95> 13*9880d681SAndroid Build Coastguard Worker %1 = extractelement <3 x i8> %0, i64 2 14*9880d681SAndroid Build Coastguard Worker ret i8 %1 15*9880d681SAndroid Build Coastguard Worker} 16