This the initial code change to facilitate managing FMF flags from Instructions to MI wrt Intrinsics in Global Isel. Eventually the GlobalObserver interface will be added as well, where FMF additions can be tracked for the builder and CSE.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
One minor style nit, but this LGTM.
lib/CodeGen/GlobalISel/IRTranslator.cpp | ||
---|---|---|
950 | I think FMA is a more normal name here, since it's an acronym. |
Comment Actions
Minor nit about using -> on MachineInstr builders directly.
lib/CodeGen/GlobalISel/IRTranslator.cpp | ||
---|---|---|
888 | Conversion to MachineInstr unnecessary. |
Conversion to MachineInstr unnecessary.
Instead
PowMI->copyIRFlags.. should be sufficient.