This is an archive of the discontinued LLVM Phabricator instance.

DAG: Add helper for testing constant values
ClosedPublic

Authored by arsenm on Dec 20 2016, 1:23 PM.

Details

Summary

There are helpers for testing for constant or constant build_vector,
and for splat ConstantFP vectors, but not for a constantfp or
non-splat ConstantFP vector.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 82141.Dec 20 2016, 1:23 PM
arsenm retitled this revision from to DAG: Add helper for testing constant values.
arsenm updated this object.
arsenm added a reviewer: bogner.
arsenm added a subscriber: llvm-commits.
RKSimon added a subscriber: RKSimon.
RKSimon added inline comments.
include/llvm/CodeGen/SelectionDAG.h
1368

Shouldn't that be \p N ?

arsenm accepted this revision.Dec 21 2016, 8:52 PM
arsenm added a reviewer: arsenm.
arsenm marked an inline comment as done.

r290317

This revision is now accepted and ready to land.Dec 21 2016, 8:52 PM
arsenm closed this revision.Dec 21 2016, 8:52 PM
arsenm added inline comments.
include/llvm/CodeGen/SelectionDAG.h
1368

Yes, fixed