diff options
author | Florian Hahn <flo@fhahn.com> | 2025-03-28 08:43:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-28 08:43:46 +0000 |
commit | 7b75db5755e63ddefa35101cf6a1179de560d312 (patch) | |
tree | f41118c15d68c056f287529e4913c93c656ac831 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 883612859bd255fc964c121ea6d3b1a9fb37fc65 (diff) | |
download | llvm-7b75db5755e63ddefa35101cf6a1179de560d312.zip llvm-7b75db5755e63ddefa35101cf6a1179de560d312.tar.gz llvm-7b75db5755e63ddefa35101cf6a1179de560d312.tar.bz2 |
[VPlan] Add new VPIRPhi overlay for VPIRInsts wrapping phi nodes (NFC). (#129387)
Add a new VPIRPhi subclass of VPIRInstruction, that purely serves as an
overlay, to provide more convenient checking (via directly doing
isa/dyn_cast/cast) and specialied execute/print implementations.
Both VPIRInstruction and VPIRPhi share the same VPDefID, and are
differentiated by the backing IR instruction.
This pattern could alos be used to provide more specialized interfaces
for some VPInstructions ocpodes, without introducing new, completely
spearate recipes. An example would be modeling VPWidenPHIRecipe &
VPScalarPHIRecip using VPInstructions opcodes and providing an interface
to retrieve incoming blocks and values through a VPInstruction subclass
similar to VPIRPhi.
PR: https://github.com/llvm/llvm-project/pull/129387
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions