Allen2
1
hi,
I tested both python3.6 and python3.9 are not worked under the MSYS2 environment.
-
cmd: llvm/utils/update_test_checks.py --opt-binary=build/bin/opt.exe llvm/test/Transforms/InstCombine/mul.ll
- the opt.exe works fine with command line
admin@DESKTOP-60K0V6B MINGW64 /e/source/llvm-project (main)
$ head llvm/test/Transforms/InstCombine/test.ll
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -passes=instcombine -S | FileCheck %s
RKSimon
2
Most likely the path to opt isn’t working - have you tried an absolute path?
AFAICT this would be:
--opt-binary=/e/source/llvm-project/build/bin/opt.exe
Allen2
3
Oh, yes. it works with absolute path, thanks @RKSimon .
admin@DESKTOP-60K0V6B MINGW64 /e/source/llvm-project (main)
$ llvm/utils/update_test_checks.py --opt-binary=/e/source/llvm-project/build/bin/opt.exe llvm/test/Transforms/InstCombine/test.ll