[llvm] [X86][SimplifyCFG][CodeGen] Support hoisting load/store with conditional faulting (PR #95515)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 24 06:54:24 PDT 2024
================
@@ -1113,6 +1113,10 @@ class TargetTransformInfo {
/// \return the number of registers in the target-provided register class.
unsigned getNumberOfRegisters(unsigned ClassID) const;
+ /// \return true if the target supports load/store that enables fault
+ /// suppression of memory operands when the source condition is false.
+ bool hasConditionalFaultingLoadStoreForType(Type *Ty = nullptr) const;
----------------
phoebewang wrote:
Is the `Faulting` X86 specific? Should we remove it from function name?
https://github.com/llvm/llvm-project/pull/95515
More information about the llvm-commits
mailing list