This is an archive of the discontinued LLVM Phabricator instance.

Initialize and Register X86CondBrFoldingPass
ClosedPublic

Authored by Jianping on Dec 6 2018, 11:02 PM.

Details

Summary

To make X86CondBrFoldingPass can be run with --run-pass option, this can test one wrong assertion on analyzeCompare function for SUB32ri when its operand is not imm

Diff Detail

Event Timeline

Jianping created this revision.Dec 6 2018, 11:02 PM
craig.topper accepted this revision.Dec 6 2018, 11:11 PM

LGTM.

Do you need me to commit this?

This revision is now accepted and ready to land.Dec 6 2018, 11:11 PM
This revision was automatically updated to reflect the committed changes.