If a constant is the same as the reverse of an inline immediate,
this is 4 bytes smaller than having to embed a 32-bit literal.
Details
Details
- Reviewers
• tstellarAMD
Diff Detail
Diff Detail
Paths
| Differential D17931
AMDGPU: Materialize sign bits with bfrev ClosedPublic Authored by arsenm on Mar 7 2016, 7:35 AM.
Details
Summary If a constant is the same as the reverse of an inline immediate,
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Mar 10 2016, 8:01 PM
Revision Contents
Diff 49961 lib/Target/AMDGPU/SIShrinkInstructions.cpp
test/CodeGen/AMDGPU/bitreverse-inline-immediates.ll
test/CodeGen/AMDGPU/fmaxnum.ll
test/CodeGen/AMDGPU/fminnum.ll
test/CodeGen/AMDGPU/fneg-fabs.f64.ll
test/CodeGen/AMDGPU/imm.ll
|