[llvm-dev] (When) Do function calls read/latch/freeze their parameters?

Nicolai Hähnle via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 15 01:52:23 PDT 2020


On Tue, Jul 14, 2020 at 10:15 PM Johannes Doerfert
<johannesdoerfert at gmail.com> wrote:
> On 7/13/20 2:57 PM, Nicolai Hähnle via llvm-dev wrote:
> > calls to intrinsics such as llvm.minimum.* etc. are
> > presumably expected to introduce freezes.
>
> I can see how lowering/implementing intrinsics might require `freeze` but
> as Nuno mentioned, I doubt "inlining" (as in our inliner pass) requires
> this.

Yes, this makes sense to me. Thanks!

Cheers,
Nicolai

-- 
Lerne, wie die Welt wirklich ist,
aber vergiss niemals, wie sie sein sollte.


More information about the llvm-dev mailing list