1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 | not grep and 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; These tests differ from the ones in zext-inreg-0.ll in that 4*9880d681SAndroid Build Coastguard Worker; on x86-64 they do require and instructions. 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Worker; These should use movzbl instead of 'and 255'. 7*9880d681SAndroid Build Coastguard Worker; This related to not having ZERO_EXTEND_REG node. 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Workerdefine i64 @l(i64 %d) nounwind { 10*9880d681SAndroid Build Coastguard Worker %e = add i64 %d, 1 11*9880d681SAndroid Build Coastguard Worker %retval = and i64 %e, 1099511627775 12*9880d681SAndroid Build Coastguard Worker ret i64 %retval 13*9880d681SAndroid Build Coastguard Worker} 14*9880d681SAndroid Build Coastguard Workerdefine i64 @m(i64 %d) nounwind { 15*9880d681SAndroid Build Coastguard Worker %e = add i64 %d, 1 16*9880d681SAndroid Build Coastguard Worker %retval = and i64 %e, 281474976710655 17*9880d681SAndroid Build Coastguard Worker ret i64 %retval 18*9880d681SAndroid Build Coastguard Worker} 19