If there is a single use constant, it can be folded into the
min/max, but not into med3.
Details
Details
- Reviewers
rampitec
Diff Detail
Diff Detail
Paths
| Differential D52172
AMDGPU: Don't form fmed3 if it will require materialization ClosedPublic Authored by arsenm on Sep 17 2018, 7:23 AM.
Details
Summary If there is a single use constant, it can be folded into the
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptSep 17 2018, 7:23 AM This revision is now accepted and ready to land.Sep 17 2018, 10:43 AM
Revision Contents
Diff 165767 lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/clamp.ll
test/CodeGen/AMDGPU/fmed3.ll
|