diff options
author | Eric Christopher <echristo@gmail.com> | 2017-07-25 22:21:08 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2017-07-25 22:21:08 +0000 |
commit | 97ae58686fb1fe9873b3742b014b003cb89cd17f (patch) | |
tree | 75fbdb481a5ae84b099a6cda7a5ea647ce0a5110 /llvm/lib/Target/PowerPC/PPCTargetMachine.h | |
parent | 9ddcf8e6ac76a7f76d0ed6a9a0b98b2dc0f38c2d (diff) | |
download | bcm5719-llvm-97ae58686fb1fe9873b3742b014b003cb89cd17f.tar.gz bcm5719-llvm-97ae58686fb1fe9873b3742b014b003cb89cd17f.zip |
Update the comments on default subtargets based on feedback.
llvm-svn: 309041
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.h b/llvm/lib/Target/PowerPC/PPCTargetMachine.h index be705507b53..81b5ef21b7e 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.h +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.h @@ -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 |