Adds new extension SPV_KHR_expect_assume, new capability
ExpectAssumeKHR as well as the new instructions:
- OpExpectKHR
- OpAssumeTrueKHR
These are lowered from respectively llvm.expect.<ty> and llvm.assume
intrinsics.
Paths
| Differential D157696
[SPIRV] Implement support for SPV_KHR_expect_assume AbandonedPublic Authored by pmatos on Aug 11 2023, 3:02 AM.
Details
Summary Adds new extension SPV_KHR_expect_assume, new capability
These are lowered from respectively llvm.expect.<ty> and llvm.assume
Diff Detail
Event Timeline
Revision Contents
Diff 549317 llvm/include/llvm/IR/IntrinsicsSPIRV.td
llvm/lib/Target/SPIRV/SPIRVBuiltins.td
llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
llvm/test/CodeGen/SPIRV/assume.ll
llvm/test/CodeGen/SPIRV/expect.ll
|
I will make sure to add a new line in the next revision of the patch.