llvm-project
b7279ed5 - [SystemZ][XRay] Make xray work with gcc (#126154)

Commit
306 days ago
[SystemZ][XRay] Make xray work with gcc (#126154) It seems that depending on the platform, gcc acceptts or does not accept `-mvx` without specifying an architecture actually having vector instructions. The solution which seems to work across different versions of gcc and clang is to specify the least architecture which has vector instructions. In addition, initialization of the unused variable CPU prevents a compiler warning from gcc.
Author
Parents
Loading