On GPU targets, materializing constants is cheap and stores are
expensive, so only doing this for zero vectors was silly.
Most of the new testcases aren't optimally merged, and are for
later improvements.
Paths
| Differential D9956
Add target hook to allow merging stores of nonzero constants ClosedPublic Authored by arsenm on May 23 2015, 3:22 PM.
Details
Summary On GPU targets, materializing constants is cheap and stores are Most of the new testcases aren't optimally merged, and are for
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.May 23 2015, 5:24 PM
Revision Contents
Diff 26375 include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/R600/AMDGPUISelLowering.h
lib/Target/R600/AMDGPUISelLowering.cpp
test/CodeGen/R600/merge-stores.ll
test/CodeGen/R600/store.ll
|
This does not explain well what this does. Cheaper than what?