llvm-project/polly/test
John Ericson 3a1c81e327 [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited, part 2
A simple sed doing these substitutions:

- `${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}\>` -> `${LLVM_LIBRARY_DIR}`
- `${LLVM_BINARY_DIR}/bin\>` -> `${LLVM_TOOLS_BINARY_DIR}`

where `\>` means "word boundary".

The only manual modifications were reverting changes in

- `runtimes/CMakeLists.txt`

because these were "entry points" where we wanted to tread carefully not not introduce a "loop" which would end with an undefined variable being expanded to nothing.

There are some `${LLVM_BINARY_DIR}/lib` without the `${LLVM_LIBDIR_SUFFIX}`, but these refer to the lib subdirectory of the source (`llvm/lib`). That `lib` is automatically appended to make the local `CMAKE_CURRENT_BINARY_DIR` value by `add_subdirectory`; since the directory name in the source tree is fixed without any suffix, the corresponding `CMAKE_CURRENT_BINARY_DIR` will also be. We therefore do not replace it but leave it as-is.

This picks up where D133828 left off, getting the occurrences with*out* `CMAKE_CFG_INTDIR`. But this is difficult to do correctly and so not done in the (retroactively) previous diff.

This hopefully increases readability overall, and also decreases the usages of `LLVM_LIBDIR_SUFFIX`, preparing us for D130586.

Reviewed By: sebastian-ne

Differential Revision: https://reviews.llvm.org/D132316
2022-09-14 15:48:58 -04:00
..
CodeGen [polly] Fixed a number of typos. NFC 2022-08-07 22:56:07 +08:00
DeLICM [ValueTracking] Enable -branch-on-poison-as-ub by default 2022-06-01 10:46:06 +02:00
DeadCodeElimination Reland "Load pass plugins during option processing, so that plugin options are registered and live." 2022-03-18 03:27:53 +00:00
DependenceInfo [polly] Introduce -polly-print-* passes to replace -analyze. 2022-03-14 10:27:15 -05:00
FlattenSchedule [polly] Introduce -polly-print-* passes to replace -analyze. 2022-03-14 10:27:15 -05:00
ForwardOpTree [polly] Fixed a number of typos. NFC 2022-08-07 22:56:07 +08:00
GPGPU [FileCheck] GetCheckTypeAbbreviation() to handle the misspelled case. 2022-05-26 12:20:15 +01:00
IstAstInfo [polly] Introduce -polly-print-* passes to replace -analyze. 2022-03-14 10:27:15 -05:00
JSONExporter [polly] Introduce -polly-print-* passes to replace -analyze. 2022-03-14 10:27:15 -05:00
MaximalStaticExpansion [Polly] Migrate -polly-mse to the new pass manager. 2022-06-01 13:37:58 -05:00
PruneUnprofitable Reland "Load pass plugins during option processing, so that plugin options are registered and live." 2022-03-18 03:27:53 +00:00
ScheduleOptimizer [Polly] Remove the test case that depends on InstCombine and DeLICM. 2022-08-14 12:51:57 +03:00
ScopDetect [polly] Fixed a number of typos. NFC 2022-08-07 22:56:07 +08:00
ScopDetectionDiagnostics [polly] Fixed a number of typos. NFC 2022-08-07 22:56:07 +08:00
ScopInfo [polly] Fixed a number of typos. NFC 2022-08-07 22:56:07 +08:00
ScopInliner [polly] Introduce -polly-print-* passes to replace -analyze. 2022-03-14 10:27:15 -05:00
Simplify [polly] Fixed a number of typos. NFC 2022-08-07 22:56:07 +08:00
Support [polly] Fix NPM unittests after D121566. 2022-03-18 14:25:44 -05:00
Unit [test] Propagate HWASAN_OPTIONS 2022-08-17 18:59:49 -07:00
UnitIsl
CMakeLists.txt [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited, part 2 2022-09-14 15:48:58 -04:00
README
create_ll.sh [polly] Introduce -polly-print-* passes to replace -analyze. 2022-03-14 10:27:15 -05:00
lit.cfg [polly] Fix up regression test config with current features. 2021-07-30 13:44:48 -07:00
lit.site.cfg.in Reland "Load pass plugins during option processing, so that plugin options are registered and live." 2022-03-18 03:27:53 +00:00
polly.ll
update_check.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00

README

place tests here