script.cmd 228 B

123456789
  1. @setlocal
  2. @set BINPATH=C:\Program Files\LLVM3.7\bin
  3. @set CLANG="%BINPATH%\clang"
  4. @set OPT="%BINPATH%\opt"
  5. %CLANG% -S -emit-llvm -target nvptx runtime.c
  6. %OPT% -S -mem2reg runtime.ll -o runtime.opt.ll
  7. python rewriteRuntime.py