[all-commits] [llvm/llvm-project] 077a14: [AMDGPU] Mark time intrinsics as nomem, hassideeff...
Jay Foad via All-commits
all-commits at lists.llvm.org
Tue Dec 7 08:24:59 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 077a14e00b75a1858cf1095129105eecdac82e69
https://github.com/llvm/llvm-project/commit/077a14e00b75a1858cf1095129105eecdac82e69
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/SMInstructions.td
Log Message:
-----------
[AMDGPU] Mark time intrinsics as nomem, hassideeffects
Adding IntrHasSideEffects to @llvm.amdgcn.s.memtime and
@llvm.amdgcn.s.memrealtime means that we can stop pretending they read
and write memory, and similarly for the corresponding pseudo
instructions.
This should stop these intrinsics from being rescheduled past all other
instructions, even ones which don't load or store.
See also https://reviews.llvm.org/D58635.
Differential Revision: https://reviews.llvm.org/D115227
More information about the All-commits
mailing list