Jonas Paulsson

Results comments of Jonas Paulsson

As this is a bug in MachineCopyPropagation pass, it really isn't a bug in the SystemZ backend, right?

> I am not able to reproduce this on x86 Linux build. It seems this has been > fixed. I get the same assert still on a SystemZ build... :-/

> > > Otherwise, one idea is to use -verify-machineinstrs on those tests so that > > it is possible to always expect the verifier there. If you think this...

> > Per my previous comment, ninja check with expensive checks now fails now just twice in CodeGen/Generic. > > Great! > > I think those tests in generic are...

> r304320 enabled the machine verifier by default with EXPENSIVE_CHECKS. > SystemZ is one of the targets excluded from this by overriding > TargetMachine::isMachineVerifierClean() to return false. > > Please...

The trap problem seems to be resolved by simply removing barrier and terminator flags on the trap instructions. What's left now before SystemZ is clean are two (new) fails in...

https://reviews.llvm.org/D34143#58aa05e8

entry: tail call void @​llvm.trap() ret i32 0 is lowered to BB#0: derived from LLVM BB %entry Trap %vreg0 = LHI 0; GR32Bit:%vreg0 %R2L = COPY %vreg0; GR32Bit:%vreg0 Return %R2L...

CodeGen/SystemZ/stack-guard.ll was fixed with r303743. Still awaiting help on the Trap tests...

The trap problem seems to relate to an issue that keeps the SystemZ backend to use the isTerminator flag on the SystemZ::Trap instruction, per the comment in SystemZInstrInfo.td: // Unconditional...