mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-19 10:15:00 +00:00
Update the comments on default subtargets based on feedback.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309041 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8330752796
commit
dd35be2805
@ -36,8 +36,9 @@ public:
|
||||
|
||||
~AArch64TargetMachine() override;
|
||||
const AArch64Subtarget *getSubtargetImpl(const Function &F) const override;
|
||||
// The no argument getSubtargetImpl, while it exists on some, targets is
|
||||
// deprecated and should not be used.
|
||||
// DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
|
||||
// subtargets are per-function entities based on the target-specific
|
||||
// attributes of each function.
|
||||
const AArch64Subtarget *getSubtargetImpl() const = delete;
|
||||
|
||||
// Pass Pipeline Configuration
|
||||
|
@ -47,8 +47,9 @@ public:
|
||||
~ARMBaseTargetMachine() override;
|
||||
|
||||
const ARMSubtarget *getSubtargetImpl(const Function &F) const override;
|
||||
// The no argument getSubtargetImpl, while it exists on some targets, is
|
||||
// deprecated and should not be used.
|
||||
// DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
|
||||
// subtargets are per-function entities based on the target-specific
|
||||
// attributes of each function.
|
||||
const ARMSubtarget *getSubtargetImpl() const = delete;
|
||||
bool isLittleEndian() const { return isLittle; }
|
||||
|
||||
|
@ -41,8 +41,9 @@ public:
|
||||
~PPCTargetMachine() override;
|
||||
|
||||
const PPCSubtarget *getSubtargetImpl(const Function &F) const override;
|
||||
// The no argument getSubtargetImpl, while it exists on some targets, is
|
||||
// deprecated and should not be used.
|
||||
// DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
|
||||
// subtargets are per-function entities based on the target-specific
|
||||
// attributes of each function.
|
||||
const PPCSubtarget *getSubtargetImpl() const = delete;
|
||||
|
||||
// Pass Pipeline Configuration
|
||||
|
@ -40,8 +40,9 @@ public:
|
||||
~X86TargetMachine() override;
|
||||
|
||||
const X86Subtarget *getSubtargetImpl(const Function &F) const override;
|
||||
// The no argument getSubtargetImpl, while it exists on some targets, is
|
||||
// deprecated and should not be used.
|
||||
// DO NOT IMPLEMENT: There is no such thing as a valid default subtarget,
|
||||
// subtargets are per-function entities based on the target-specific
|
||||
// attributes of each function.
|
||||
const X86Subtarget *getSubtargetImpl() const = delete;
|
||||
|
||||
TargetIRAnalysis getTargetIRAnalysis() override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user