[libc-commits] [libc] [libc][math][c23] Add exp2m1f16 C23 math function (PR #105690)

Matt Arsenault via libc-commits libc-commits at lists.llvm.org
Thu Sep 26 22:02:09 PDT 2024


arsenm wrote:

> > exp2 should be correctly lowered and it's just a bug if it's not. Is the bug in whatever this emitted or the llvm.exp2.f16 lowering? Can you post IR/ISA output?
> 
> 
> 
> Sorry for the (long) delay, here's the IR output: https://gist.github.com/overmighty/20ec6b34f36d6b02c8009d85fa6e0794.

Why are there any volatile accesses? There shouldn't be any z

But still, this should just emit llvm.exp2 

https://github.com/llvm/llvm-project/pull/105690


More information about the libc-commits mailing list