diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2024-01-09 13:10:36 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 13:10:36 +0700 |
commit | ee78e038667d89f5dcd5ed25a36659b3653095d0 (patch) | |
tree | 6de59c81a1131f4cb21c6c431ba65d8c47e078e5 /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | abaa79b25dde740d5b54adab463432bee2840c85 (diff) | |
download | llvm-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