aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bindings/Python/MainModule.cpp
diff options
context:
space:
mode:
authorJeaye Wilkerson <contact@jeaye.com>2025-09-30 11:41:00 -0700
committerGitHub <noreply@github.com>2025-09-30 21:41:00 +0300
commit4e5928689f2399dc6aede8dde2536a98a96a1802 (patch)
tree54aa0aeb51c22edf30e47fe2f99de73f14c8c869 /mlir/lib/Bindings/Python/MainModule.cpp
parent4064c0eab46e34fd07dbca4b2f665582f4528afb (diff)
downloadllvm-4e5928689f2399dc6aede8dde2536a98a96a1802.zip
llvm-4e5928689f2399dc6aede8dde2536a98a96a1802.tar.gz
llvm-4e5928689f2399dc6aede8dde2536a98a96a1802.tar.bz2
Fix `run_clang_repl` output when not present (#161412)
On the happy path, when `clang-repl` is present, we will invoke it in order to determine if the host supports JIT features. That will return a string containing "true". However, in cases where `clang-repl` is not present or we fail to invoke it, we previously returned `False`, which would then trigger a failure with our substring check. This PR updates the function to return `""` instead, so the substring check is still valid. This is related to https://github.com/llvm/llvm-project/pull/157359, where the original change was introduced.
Diffstat (limited to 'mlir/lib/Bindings/Python/MainModule.cpp')
0 files changed, 0 insertions, 0 deletions