mstorsjo added a comment.

In https://reviews.llvm.org/D44582#1040578, @efriedma wrote:

> Can we just fix the bug in the backend, rather than trying to hack around it 
> in clang?


That'd obviously be ideal - but I don't know how easy that'd be (not familiar 
enough with that aspect of LLVM); if it's easily doable there, why is the 
handling of this detail of the calling convention done in clang for normal 
functions to begin with? (The calling convention requires allocating stack 
space in the caller for the argument and return value, which isn't done in the 
IR emitted by clang originally when using intrinsics.)


Repository:
  rC Clang

https://reviews.llvm.org/D44582



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to