diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2015-03-25 19:51:52 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2015-03-25 19:51:52 +0000 |
commit | 62b41b94589fd8962dc5f827f06403b27a6c1136 (patch) | |
tree | f16efda82c2d3c1c356e5b0e77f4366393aa3c56 /llvm | |
parent | 8246f28237a56f51e3277116ea1df4dc18aa04db (diff) | |
download | bcm5719-llvm-62b41b94589fd8962dc5f827f06403b27a6c1136.tar.gz bcm5719-llvm-62b41b94589fd8962dc5f827f06403b27a6c1136.zip |
[Hexagon] Keep the bare getSubtargetImpl for now
llvm-svn: 233206
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonTargetMachine.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetMachine.h b/llvm/lib/Target/Hexagon/HexagonTargetMachine.h index 5774f7e195b..44a5aea3c95 100644 --- a/llvm/lib/Target/Hexagon/HexagonTargetMachine.h +++ b/llvm/lib/Target/Hexagon/HexagonTargetMachine.h @@ -32,6 +32,9 @@ public: Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL); ~HexagonTargetMachine() override; + const HexagonSubtarget *getSubtargetImpl() const { + return &Subtarget; + } const HexagonSubtarget *getSubtargetImpl(const Function &) const override { return &Subtarget; } |