Under -O0, device-libs may still emit these instructions under conditions.
So we need to remove them with warning if not compatible.
Fixes: SWDEV-417219
Paths
| Differential D158316
[AMDGPU] Add s-memrealtime and s-memtime-inst to RemoveIncompatibleFunctions ClosedPublic Authored by cfang on Aug 18 2023, 2:35 PM.
Details Summary Under -O0, device-libs may still emit these instructions under conditions. Fixes: SWDEV-417219
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 22 2023, 12:36 AM This revision was landed with ongoing or failed builds.Aug 22 2023, 10:23 AM Closed by commit rG930e8dea4178: AMDGPU: Add s-memrealtime and s-memtime-inst to RemoveIncompatibleFunctions (authored by cfang). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 552421 llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
llvm/test/CodeGen/AMDGPU/remove-incompatible-s-time.ll
|