[PATCH] D123198: [LibCalls] Add argument extension attributes to more functions.
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 11 01:30:27 PDT 2022
jonpa added a comment.
> BuildLibCalls does not run under -O0 afaik .. so you wont get these attrs. So I dont think this is a correct place if my assumption holds.
I am quite sure there are more places to handle, but fixing BuildLibCalls seems like a step in the right direction, wouldn't you agree? This is an existing problem we are trying to fix by carefully finding and handling all call sites throughout the code base.
> And I also think that things will break for you if somebody uses eg. -fno-builtin-memccpy .. you will not get this ext attribute.
I would be very grateful if you helped with this work by filing bug reports with test cases, and maybe even patches...
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123198/new/
https://reviews.llvm.org/D123198
More information about the llvm-commits
mailing list