You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Example fix for X86https://user-images.githubusercontent.com/60944935/143746452-6f4b5332-6a28-4149-95d6-c5db710c2621.gz)
Reporter
LLVM Bugzilla Contributor
Extended Description
Calls to coldcc functions unnecessarily are treated as clobbering registers in the same manner as normal calls. Instead, we should better model the "this call clobbers nothing" property that makes coldcc useful.
Attached is a works-for-me(TM) patch that resolves this issue on x86_64, and might work on X86 as well. Ideally this could be implemented in a more target-agnostic manner, but I'm not sure how to best approach that. I leave that to the good folk more familiar with the related components :).
The text was updated successfully, but these errors were encountered:
Extended Description
Calls to coldcc functions unnecessarily are treated as clobbering registers in the same manner as normal calls. Instead, we should better model the "this call clobbers nothing" property that makes coldcc useful.
Attached is a works-for-me(TM) patch that resolves this issue on x86_64, and might work on X86 as well. Ideally this could be implemented in a more target-agnostic manner, but I'm not sure how to best approach that. I leave that to the good folk more familiar with the related components :).
The text was updated successfully, but these errors were encountered: