Add flags for loop-versioning pass enable/disable
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Time | Test | |
---|---|---|
130 ms | x64 debian > Flang.Driver::code-gen-rv64.f90 Script:
--
: 'RUN: at line 5'; rm -f /var/lib/buildkite-agent/builds/llvm-project/build/tools/flang/test/Driver/Output/code-gen-rv64.f90.tmp.o
| |
50 ms | x64 debian > Flang.Examples::feature-list-class.f90 Script:
--
: 'RUN: at line 4'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/flang-new -fc1 -load /var/lib/buildkite-agent/builds/llvm-project/build/lib/flangFeatureList.so -plugin feature-list /var/lib/buildkite-agent/builds/llvm-project/flang/test/Examples/feature-list-class.f90 2>&1 | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/flang/test/Examples/feature-list-class.f90
| |
60 ms | x64 debian > Flang.Examples::feature-list-functions.f90 Script:
--
: 'RUN: at line 4'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/flang-new -fc1 -load /var/lib/buildkite-agent/builds/llvm-project/build/lib/flangFeatureList.so -plugin feature-list /var/lib/buildkite-agent/builds/llvm-project/flang/test/Examples/feature-list-functions.f90 2>&1 | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/flang/test/Examples/feature-list-functions.f90
|
Event Timeline
Comment Actions
Rebased and updated help-message
Also using different type of template for the option
Comment Actions
Please could you add tests for the flag forwarding logic in flang/tests/Driver/frontend-forwarding.f90. For example see https://reviews.llvm.org/rGd0d4b635786d510cd919cadbeb7e5e19983242cf
clang/lib/Driver/ToolChains/Flang.cpp | ||
---|---|---|
95 | Does GFortran only enable this with -Ofast? I would have thought this would be an -On thing because it doesn't impact precision. | |
flang/include/flang/Frontend/CodeGenOptions.def | ||
27 | nit: comment |
Comment Actions
Updates based on review comments:
- Add tests.
- Enable on -O3
Also changed the name to match gfortran.