[LLVMdev] Should the MachineVerifier accept a MBB with a single (landing pad) successor?

Tim Northover t.p.northover at gmail.com
Thu Nov 13 12:49:53 PST 2014


Hi Ahmed,

On 12 November 2014 10:47, Ahmed Bougacha <ahmed.bougacha at gmail.com> wrote:
>> I've been investigating a machine verifier failure on the attached
>> testcase, and I'm tempted to say the verifier is wrong and should
>> accept it.  Skip the description for the proposed change.

I think you made a fair case. Each step along the way seems
reasonable, so the IR ought to be valid. I don't think we want to be
guaranteeing redundant branches will be removed, which is the only
other realistic solution.

Cheers.

Tim.



More information about the llvm-dev mailing list