Displaying 1 result from an estimated 1 matches for "llvm_scr_root".
2016 Apr 06
3
Calling a script from a script in a lit test
...ing in a lit test.
I've got an IR file with some simple functions, one of which includes a call to another function that will be inlined during optimization. I can use this to manually test my new OptBisect class by invoking the existing utils/bisect file in the following way:
python <llvm_scr_root>/utils/bisect --start=0 --end=200 test.sh %(count)s
with 'test.sh' looking like this:
opt -O2 -opt-bisect-limit=%1 -S opt-bisect.ll | FileCheck opt-bisect.ll --check-prefix=CHECK-BISECT-INLINE
and 'opt-bisect.ll' looking (more or less) like this:
; CHECK-BISECT-INLINE...