[llvm] r233206 - [Hexagon] Keep the bare getSubtargetImpl for now
Krzysztof Parzyszek
kparzysz at codeaurora.org
Wed Mar 25 12:51:53 PDT 2015
Author: kparzysz
Date: Wed Mar 25 14:51:52 2015
New Revision: 233206
URL: http://llvm.org/viewvc/llvm-project?rev=233206&view=rev
Log:
[Hexagon] Keep the bare getSubtargetImpl for now
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonTargetMachine.h
Modified: llvm/trunk/lib/Target/Hexagon/HexagonTargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonTargetMachine.h?rev=233206&r1=233205&r2=233206&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonTargetMachine.h (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonTargetMachine.h Wed Mar 25 14:51:52 2015
@@ -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;
}
More information about the llvm-commits
mailing list