A comment I posted in D70210 about setting the BB Number was missed.
This patch sets the BB Number based on RPO order when calling renameVRegs is called.
TODO: Will add a test with 2+ BBs.
Paths
| Differential D70478
[MIRVRegNamerUtils] Fix for BasicBlock numbering parameter. ClosedPublic Authored by plotfi on Nov 20 2019, 12:17 AM.
Details Summary A comment I posted in D70210 about setting the BB Number was missed. TODO: Will add a test with 2+ BBs.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 20 2019, 12:23 AM Closed by commit rGfdc6f4b97b0e: [llvm] Fixing MIRVRegNamerUtils to properly handle 2+ MachineBasicBlocks. (authored by plotfi). · Explain WhyDec 4 2019, 3:37 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 232230 llvm/lib/CodeGen/MIRCanonicalizerPass.cpp
llvm/lib/CodeGen/MIRNamerPass.cpp
llvm/lib/CodeGen/MIRVRegNamerUtils.h
llvm/test/CodeGen/MIR/X86/mir-canon-hash-bb.mir
|