pogo59 wrote:

> Edit: Actually we still have the problem of when in LLVM not knowing if 
> optimze-by-size got set on the cold funtion by it being cold or if Os was 
> used.

Not sure I understand the question (sorry I missed this comment when it was 
made). The suggestion is that for our target, clang sets explicit alignment, so 
LLVM should not need to know where optsize came from. LLVM's handling of 
optsize will not reset an alignment that is already set. Is there a situation 
where the wrong thing still happens?

https://github.com/llvm/llvm-project/pull/72387
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to