diff options
author | Jay Foad <jay.foad@amd.com> | 2023-09-08 14:05:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 14:05:56 +0100 |
commit | dd5af895bb7233471256bb8bfb013d49a71973f0 (patch) | |
tree | 1ce10d33b28e65f5c7f6adf1fc1bfd8f1c81f1b4 /clang/lib/CodeGen/CodeGenModule.h | |
parent | e067b0e4a728615675d229e818c22d29ead5e4d4 (diff) | |
download | llvm-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