[PATCH] D25293: Create llvm.addressofreturnaddress intrinsic

Albert Gutowski via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 10:59:00 PDT 2016


agutowski marked an inline comment as done.
agutowski added inline comments.


================
Comment at: test/CodeGen/X86/win64_frame.ll:187
 
+define i8* @f11() "no-frame-pointer-elim"="true" {
+  ; CHECK-LABEL: f11:
----------------
majnemer wrote:
> What happens if the frame pointer is eliminated? The return address should just be at %([re]sp) no?
Yes, added test for that too.


https://reviews.llvm.org/D25293





More information about the llvm-commits mailing list