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
Note this is really a clang bug, but there's no good component for target specific clang code and this component has the right CC list.
When I implemented -mtune support, I failed to make the preprocessor defines follow the -mtune setting.
This probably means we need a setTuneCPU function like setCPU in TargetInfo. Then we need to split defineCPUMacros to remove the tuning define. I think other targets use defineCPUMacros, but set a bool to not define the tune defines so removing the code simplies the interface.
I probably won't have a chance to work on this for a while. Pengfei, can you or someone at Intel handle it?
The text was updated successfully, but these errors were encountered:
Defining __tune_* shall be nice. It does not block https://reviews.llvm.org/D118527 . I have checked various x86 __tune_*, they cannot be found in projects other than GCC :)
Extended Description
Note this is really a clang bug, but there's no good component for target specific clang code and this component has the right CC list.
When I implemented -mtune support, I failed to make the preprocessor defines follow the -mtune setting.
This probably means we need a setTuneCPU function like setCPU in TargetInfo. Then we need to split defineCPUMacros to remove the tuning define. I think other targets use defineCPUMacros, but set a bool to not define the tune defines so removing the code simplies the interface.
I probably won't have a chance to work on this for a while. Pengfei, can you or someone at Intel handle it?
The text was updated successfully, but these errors were encountered: