Skip to content

Commit bd860bd

Browse files
durin42nikic
andauthored
Fix typo in LLVM_VERSION_ macro use
Co-authored-by: Nikita Popov <github@npopov.com>
1 parent 4c7292a commit bd860bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ extern "C" LLVMRustResult LLVMRustOptimize(
569569
}
570570

571571
std::optional<PGOOptions> PGOOpt;
572-
#if LLVM_VERSION_LE(22, 0)
572+
#if LLVM_VERSION_LT(22, 0)
573573
auto FS = vfs::getRealFileSystem();
574574
#endif
575575
if (PGOGenPath) {

0 commit comments

Comments
 (0)