[llvm] [XRay][X86] Fix stack alignment for custom event calls. (PR #89360)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon May 27 21:32:03 PDT 2024


MaskRay wrote:

> > Thanks! This is similar to EmitLoweredTLSAddr
> 
> Yeah, I copied the approach taken there - I kept them separate mostly because I couldn't think of a great name capturing a nice conceptual overlap ("emit thing that will turn into a function call, either at compile time or in the case of xray, conditionally at runtime") - I guess I can also imagine the two diverging in the future - but lmk if you prefer otherwise!

Adding a new function seems fine for now!

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


More information about the llvm-commits mailing list