[Mlir-commits] [clang] [flang] [llvm] [mlir] [polly] [CMake][LLVM] Add PCH infrastructure and LLVMSupport PCH (PR #176420)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jan 27 08:02:43 PST 2026


sharkautarch wrote:

> We cherry-picked this PR for IREE CI test: [iree-org/iree#23279](https://github.com/iree-org/iree/pull/23279). It seems that you need to add `DISABLE_PCH_REUSE` to more cases to handle the incompatibilities. Refer to [iree-org at f474998](https://github.com/iree-org/llvm-project/commit/f474998fc35c1077911c3a2fbbcb4f5f7c283a71) for our fixes.

Instead of disabling pch for `-fPIE` executables, couldn’t you just add `-fPIC` to the flags?

https://github.com/llvm/llvm-project/pull/176420


More information about the Mlir-commits mailing list