I want to compute the SSA property of .mir files automatically in
an upcoming patch. The problem with this is that some inputs will be
reported as static single assignment and some passes subsequently reject them.
In reality though those passes have no problem with register only being assigned once but they do not support PHI
instructions.
So we track the presence of PHI instructions separate from the SSA property.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/MachineFunction.cpp | ||
---|---|---|
77 | This seems more convoluted than ROS << ... |
Comment Actions
LGTM, with one nitpick.
lib/CodeGen/MIRParser/MIRParser.cpp | ||
---|---|---|
290 | return instead and get rid of the NoPHIs variable. |
return instead and get rid of the NoPHIs variable.