[llvm] r233206 - [Hexagon] Keep the bare getSubtargetImpl for now
Eric Christopher
echristo at gmail.com
Wed Mar 25 12:59:30 PDT 2015
Why? You don't use it.
-eric
On Wed, Mar 25, 2015 at 12:56 PM Krzysztof Parzyszek <
kparzysz at codeaurora.org> wrote:
> 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;
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150325/44479985/attachment.html>
More information about the llvm-commits
mailing list