[PATCH] D111550: [TwoAddressInstruction] Don't run machine verification on unclean targets

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 11 08:58:10 PDT 2021


foad added a comment.

This is the only way I could think of to test it. Without the change to TwoAddressInstructionPass, enabling -early-live-intervals on Lanai (an unclean target) would throw up known errors like:

  *** Bad machine code: MBB exits via conditional branch/fall-through but ends with a barrier instruction! ***
  - function:    clz32
  - basic block: %bb.0  (0x73a5a68) [0B;64B)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111550/new/

https://reviews.llvm.org/D111550



More information about the llvm-commits mailing list