Add an extra example that shouldn't get an and instruction.
llvm-svn: 54443
This commit is contained in:
parent
b086d3820d
commit
a8dbaeb1df
|
@ -6,7 +6,12 @@
|
||||||
; These should use movzbl instead of 'and 255'.
|
; These should use movzbl instead of 'and 255'.
|
||||||
; This related to not having ZERO_EXTEND_REG node.
|
; This related to not having ZERO_EXTEND_REG node.
|
||||||
|
|
||||||
define i64 @h(i64 %d) nounwind {
|
define i64 @l(i64 %d) nounwind {
|
||||||
|
%e = add i64 %d, 1
|
||||||
|
%retval = and i64 %e, 1099511627775
|
||||||
|
ret i64 %retval
|
||||||
|
}
|
||||||
|
define i64 @m(i64 %d) nounwind {
|
||||||
%e = add i64 %d, 1
|
%e = add i64 %d, 1
|
||||||
%retval = and i64 %e, 281474976710655
|
%retval = and i64 %e, 281474976710655
|
||||||
ret i64 %retval
|
ret i64 %retval
|
||||||
|
|
Loading…
Reference in New Issue