The operation of some VP intrinsics do/will not map to regular instruction opcodes. Returning 'None' seems more intuitive here than 'Instruction::Call'.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D102778
[VP] make getFunctionalOpcode return an Optional ClosedPublic Authored by simoll on May 19 2021, 7:45 AM.
Details Summary The operation of some VP intrinsics do/will not map to regular instruction opcodes. Returning 'None' seems more intuitive here than 'Instruction::Call'.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 19 2021, 7:51 AM This revision was landed with ongoing or failed builds.May 19 2021, 8:09 AM Closed by commit rG66963bf3819d: [VP] make getFunctionalOpcode return an Optional (authored by simoll). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 346459 llvm/include/llvm/IR/IntrinsicInst.h
llvm/lib/CodeGen/ExpandVectorPredication.cpp
llvm/lib/IR/IntrinsicInst.cpp
llvm/unittests/IR/VPIntrinsicTest.cpp
|
clang-tidy: warning: invalid case style for function 'GetFunctionalOpcodeForVP' [readability-identifier-naming]
not useful