Choose optimized device lib bitcode by fp options
for performance.
Details
- Reviewers
tra MaskRay - Commits
- rGc58a6a6fb411: [HIP] Fix device lib selection
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/Driver/hip-device-libs.hip | ||
---|---|---|
157 | // CHECK-SAME: {{^}} "-mlink... ensures that the unmatched part after the previous pattern must start with "-mlink... In case there is a new option, the pattern can catch such a case. |
clang/test/Driver/hip-device-libs.hip | ||
---|---|---|
157 | I see. Actually we do not need to make sure that. We only need to make sure these items exist in the same line. We do not even care about their orders. |
You can pack more arguments on one line.
Fewer line wraps actually make a test more readable IMO.