aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopAccessAnalysis.cpp
diff options
context:
space:
mode:
authorWael Yehia <wmyehia2001@yahoo.com>2025-03-15 11:59:30 -0400
committerGitHub <noreply@github.com>2025-03-15 11:59:30 -0400
commitf83726e6add0c0e3850333a57cbb24d5071eee24 (patch)
tree6697993853a5b2aed300f8533166f2fb92225d84 /llvm/lib/Analysis/LoopAccessAnalysis.cpp
parent65e68a30787d7ce2bf5a9e695dd03944137c5287 (diff)
downloadllvm-f83726e6add0c0e3850333a57cbb24d5071eee24.zip
llvm-f83726e6add0c0e3850333a57cbb24d5071eee24.tar.gz
llvm-f83726e6add0c0e3850333a57cbb24d5071eee24.tar.bz2
[profile] Use fprofile-continuous in compiler-rt tests (#126617)
PR #124353 introduced the clang option `-fprofile-continuous` to enable continuous mode. Use this option in all compiler-rt tests, where applicable. Changes can be summarized as follows: 1) tests that use `-fprofile-instr-generate` (`%clang_profgen`), which is an option that takes profile file name, are changed like so: ``` -// RUN: %clang_profgen_cont <SOME-OPTIONS> -o %t.exe %s -// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe +// RUN: %clang_profgen=%t.profraw -fprofile-continuous <SOME-OPTIONS> -o %t.exe %s +// RUN: %run %t.exe ``` 2) tests that use `-fprofile-generate` (`%clang_pgogen`), which is an option that takes a profile directory, are on case-by-case basis. Where the default name "default_%m.profraw" works, those tests were changed to use `%clang_pgogen=<dir>`, and the rest (`set-filename.c` and `get-filename.c`) continued to use the `LLVM_PROFILE_FILE` environment variable . 3) `set-file-object.c` uses different filename for different run of the same executable, so it continued to use the `LLVM_PROFILE_FILE` environment variable. 4) `pid-substitution.c` add a clang_profgen variation. --------- Co-authored-by: Wael Yehia <wyehia@ca.ibm.com>
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions