arsenm wrote:

> This "convention" that intrinsics should correspond to instructions is 
> severely outdated. It is from a time when all we did was expose ISA to LLVM 
> IR. We have moved beyond that, where we use intrinsics to represent semantics 
> rather than instructions. 

We have not and cannot move away from this. The backend's job is not to provide 
high level semantics, and we cannot guarantee high level semantics especially 
when the hardware so frequently rug pulls the underlying behavior. The backend 
is not supposed to be the end-all-be-all provider of everything, we should have 
far more code moved out of the compiler and into libraries 

https://github.com/llvm/llvm-project/pull/200775
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to