aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2023-09-08 14:05:56 +0100
committerGitHub <noreply@github.com>2023-09-08 14:05:56 +0100
commitdd5af895bb7233471256bb8bfb013d49a71973f0 (patch)
tree1ce10d33b28e65f5c7f6adf1fc1bfd8f1c81f1b4 /clang/lib/CodeGen/CodeGenModule.h
parente067b0e4a728615675d229e818c22d29ead5e4d4 (diff)
downloadllvm-dd5af895bb7233471256bb8bfb013d49a71973f0.zip
llvm-dd5af895bb7233471256bb8bfb013d49a71973f0.tar.gz
llvm-dd5af895bb7233471256bb8bfb013d49a71973f0.tar.bz2
[AMDGPU] Mark S_NOP as having side effects (#65745)
This prevents S_NOP from being rescheduled past other (side-effecting) instructions, which is useful because it is generally used to introduce a short delay or to avoid hazards. Currently this only affects MIR tests because the compiler itself only inserts nops in PostRAHazardRecognizer which runs after all scheduling.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions