Unverified Commit ee78e038 authored by Matt Arsenault's avatar Matt Arsenault Committed by GitHub
Browse files

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.
parent abaa79b2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment