aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BasicBlockSections.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2024-01-09 13:10:36 +0700
committerGitHub <noreply@github.com>2024-01-09 13:10:36 +0700
commitee78e038667d89f5dcd5ed25a36659b3653095d0 (patch)
tree6de59c81a1131f4cb21c6c431ba65d8c47e078e5 /llvm/lib/CodeGen/BasicBlockSections.cpp
parentabaa79b25dde740d5b54adab463432bee2840c85 (diff)
downloadllvm-ee78e038667d89f5dcd5ed25a36659b3653095d0.zip
llvm-ee78e038667d89f5dcd5ed25a36659b3653095d0.tar.gz
llvm-ee78e038667d89f5dcd5ed25a36659b3653095d0.tar.bz2
AMDGPU: Avoid instantiating PatFrag with null_frag (#77271)
This makes it possible to pass null_frag to the MAIInst multiclass. null_frag does not work as you may hope if used as the input to a PatFrag, which is what happens when it's passed through to *MAIFrag. Avoid this by checking for null_frag. It might be possible to hack up tablegen to allow consuming PatFrag inputs.
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions