[CMake] Disable -fno-semantic-interposition for GCC<10.3 on SystemZ
authorHaruki Imai <imaihal@jp.ibm.com>
Fri, 9 Jul 2021 05:09:21 +0000 (22:09 -0700)
committerFangrui Song <i@maskray.me>
Fri, 9 Jul 2021 05:09:21 +0000 (22:09 -0700)
commit62cc3cdda64aaaca5bfeba4b131ab6b5f50b4e0c
tree1882713dc1deb01c9a96f87fee52673d2feb443c
parent55bd12d4b7eeed5d2909de4babaead12396c521c
[CMake] Disable -fno-semantic-interposition for GCC<10.3 on SystemZ

`-fno-semantic-interposition` was added for GCC in D102453, but some MLIR tests
on SystemZ failed with GCC<10.3 due to a bug.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D105453
llvm/cmake/modules/HandleLLVMOptions.cmake