Jonas Paulsson
Jonas Paulsson
I see that on spec on SystemZ, currently this happens in a surprising number of loops - looking at just the cases of the GRs, this seems to happen in...
https://reviews.llvm.org/D32802
At closer insepction: RegReductionPQBase::RegPressureDiff() is called with SU t86: i32 = EXTRACT_SUBREG t84, TargetConstant:i32 t84 is t84: Untyped = DSGFR t83, t42 So VT is untyped, because DSGFR is untyped....
https://reviews.llvm.org/D33181
[reduced testcase that works on trunk](https://user-images.githubusercontent.com/55128014/143755594-95a90fe9-174d-48c6-ae88-412a30bb7dcc.gz) Old test case seem to not trigger the bug anymore. Run new test case with: bin/llc -mtriple=s390x-linux-gnu -mcpu=z13 -disable-machine-dce -join-liveintervals=false -verify-machineinstrs -o /dev/null ./tc_deadslot_2.ll...
ping! I see this assertion not that unfrequently with csmith programs.
It seems that this was actually a dead COPY to begin with: # *** IR Dump After Live Register Matrix ***: 224B %vreg2 = COPY %vreg0; VR128Bit:%vreg2,%vreg0 # After spilling...
I keep seeing this bug in testing regularly...
[reduced testcase (fails after ifconvert)](https://user-images.githubusercontent.com/55128014/143755602-8b3df4a6-5bfb-4ee1-8ef5-d4f649b8c9b3.gz) Found another test case for this bug, which this time showed up after if conversion. I think this is because the live in list of...