If the requested SGPR was not actually aligned, it was
accepted and rounded down instead of rejected.
Also fix an assert if the range is an invalid size.
Paths
| Differential D13737
AMDGPU: Fix asserts on invalid register ranges ClosedPublic Authored by arsenm on Oct 14 2015, 12:04 PM.
Details
Summary If the requested SGPR was not actually aligned, it was Also fix an assert if the range is an invalid size.
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Oct 20 2015, 3:20 PM
Revision Contents
Diff 37372 lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
test/MC/AMDGPU/out-of-range-registers.s
|
Nitpick: Maybe rename Size to Alignment?