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
- Repository
- rL LLVM
Event Timeline
Comment Actions
One minor style nit, but this LGTM.
lib/CodeGen/GlobalISel/IRTranslator.cpp | ||
---|---|---|
950 ↗ | (On Diff #178406) | 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 ↗ | (On Diff #178406) | Conversion to MachineInstr unnecessary. |