[llvm-dev] Fwd: getting started changing the emitted code: at one instruction at function top
Hal Finkel via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 5 14:25:00 PST 2016
Hi Gry,
Yes, this depends on the backend. You'll want to look at your backend's *FrameLowering::emitPrologue function (in lib/Target/*/*FrameLowering.cpp).
-Hal
----- Original Message -----
> From: "Gry Gunvor via llvm-dev" <llvm-dev at lists.llvm.org>
> To: llvm-dev at lists.llvm.org
> Sent: Sunday, December 20, 2015 10:12:58 AM
> Subject: [llvm-dev] Fwd: getting started changing the emitted code: at one instruction at function top
>
> I'm just getting started changing the emitted code. Suppose I want
> to
> just add one new instruction to the function prologue at the top.
> Where would I do this? Does it depend on the backend? I'm targeting
> RISCV64.
>
> Gry
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-dev
mailing list