Check whether the target can fold a load that feeds a subreg operand (or a subreg operand that feeds a store). For example, X86 may want to return true if it can fold movl (%esp), %eax subb, %al, ... Into: subb (%esp), ...
Synopsis
Declared in <llvm/CodeGen/TargetInstrInfo.h>
virtual
bool
isSubregFoldable() const;
Description
Ideally, we'd like the target implementation of foldMemoryOperand() to reject subregs ‐ but since this behavior used to be enforced in the target‐independent code, moving this responsibility to the targets has the potential of causing nasty silent breakage in out‐of‐tree targets.
Created with MrDocs