Displaying 1 result from an estimated 1 matches for "systemzisd".
Did you mean:
systemid
2019 Feb 08
2
Unfolded additions of constants after promotion of @llvm.ctlz.i16 on SystemZ
...t2, Constant:i32<65535>
t16: i64 = zero_extend t10
t17: i64 = ctlz t16
t22: i64 = add t17, Constant:i64<-32>
t20: i32 = truncate t22
t15: i32 = add t20, Constant:i32<-16>
t7: ch,glue = CopyToReg t0, Register:i32 $r2l, t15
t8: ch = SystemZISD::RET_FLAG t7, Register:i32 $r2l, t7:1
It seems that SelectionDAG::computeKnownBits() has a case for ISD::CTLZ,
and it seems to figure out that the high bits of t17 are zero, as expected.
t17 is guaranteed to have a value between 48 and 64, so there could not
be any overflow here, even though I...