Just do the left shift as unsigned to avoid the UB.
Details
Details
Diff Detail
Diff Detail
Event Timeline
arsenm updated this object.
This revision is now accepted and ready to land.Sep 18 2014, 5:52 PM
Paths
| Differential D5398
R600: Better fix for bug 20982
ClosedPublic Authored by arsenm on Sep 18 2014, 10:01 AM.
Details
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Sep 18 2014, 5:52 PM
Revision Contents
Diff 13836 lib/Target/R600/AMDGPUISelLowering.cpp
test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
|