For i16 zeroext arguments when i16 was a legal type, the
known bits information from the truncate was lost. Insert
a zeroext so the known bits optimizations work with the 32-bit
loads.
Fixes code quality regressions vs. SI in min.ll test.
Paths
| Differential D27867
AMDGPU: Add Assert[SZ]Ext during argument load creation ClosedPublic Authored by arsenm on Dec 16 2016, 4:06 PM.
Details
Summary For i16 zeroext arguments when i16 was a legal type, the Fixes code quality regressions vs. SI in min.ll test.
Diff Detail Event Timelinearsenm updated this object.
This revision is now accepted and ready to land.Jan 9 2017, 10:35 AM
Revision Contents
Diff 81815 lib/Target/AMDGPU/SIISelLowering.h
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/min.ll
|
Drop braces for single line ifs?