DAGCombine already does these.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D27907
InstCombine: Add fma with constant transforms ClosedPublic Authored by arsenm on Dec 18 2016, 3:45 PM.
Details
Diff Detail Event Timelinearsenm updated this object.
arsenm added a parent revision: D27906: InstCombine: Add fma + fabs/fneg transforms.Dec 18 2016, 7:05 PM This revision is now accepted and ready to land.Jan 2 2017, 2:24 PM
Revision Contents
Diff 81899 lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/fma.ll
|
I'd just use isa here.