Issue 139806
Summary [missed optimization] pushq/popq preamble with -fomit-frame-pointer if __builtin_frame_address is called
Labels new issue
Assignees
Reporter chrooti
    Not much to add on the tile. It seems that adding a call __builtin_frame_address inside a function also triggers the pushq/popq preamble even if -fomit-frame-pointer is passed. Which means that pushq is pushing garbage values on the stack.

repro: https://godbolt.org/z/zsa5Mnsa9
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to