Fixes bug #33302. Pass did not account that Src1 of max instruction can be an immediate.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D33884
[AMDGPU] Fix SIFoldOperands crash with clamp ClosedPublic Authored by rampitec on Jun 4 2017, 1:38 PM.
Details Summary Fixes bug #33302. Pass did not account that Src1 of max instruction can be an immediate.
Diff Detail
Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 4 others. · View Herald TranscriptJun 4 2017, 1:38 PM This revision is now accepted and ready to land.Jun 4 2017, 4:12 PM Closed by commit rL304696: [AMDGPU] Fix SIFoldOperands crash with clamp (authored by rampitec). · Explain WhyJun 4 2017, 6:03 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 101368 lib/Target/AMDGPU/SIFoldOperands.cpp
test/CodeGen/AMDGPU/clamp-omod-special-case.mir
|