llvm-project/llvm/tools/opt
Eric Christopher c554c5e159 Fix full unrolling with new pass manager.
Last we looked at this and couldn't come up with a reason to change
it, but with a pragma for full loop unrolling we bypass every other
loop unroll and then fail to fully unroll a loop when the pragma is set.

Move the OnlyWhenForced out of the check and into the initialization
of the full unroll pass in the new pass manager. This doesn't show up
with the old pass manager.

Add a new option to opt so that we can turn off loop unrolling
manually since this is a difference between clang and opt.

Tested with check-clang and check-llvm.
2020-05-29 20:08:21 -07:00
..
AnalysisWrappers.cpp [llvm][NFC][CallSite] Removed CallSite from some implementation details. 2020-04-15 22:27:05 -07:00
BreakpointPrinter.cpp [DebugInfo] Delete TypedDINodeRef 2019-05-07 02:06:37 +00:00
BreakpointPrinter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Speculative fix for build breakage from D78403 2020-05-14 23:57:22 -04:00
GraphPrinters.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NewPMDriver.cpp Fix full unrolling with new pass manager. 2020-05-29 20:08:21 -07:00
NewPMDriver.h [opt] NewPMDriver.h - remove unused LLVMContext forward declaration. NFC. 2020-04-27 13:51:31 +01:00
PassPrinters.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
PassPrinters.h [opt] PassPrinters.h - remove unused includes + forward declarations. NFC. 2020-04-27 13:51:31 +01:00
PrintSCC.cpp [PrintSCC] Fix printing a basic-block without a name 2020-05-29 20:14:19 +03:00
opt.cpp Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00