================
@@ -1102,7 +1110,8 @@ bool llvm::computeUnrollCount(
}
if (UP.Count == 0)
UP.Count = UP.DefaultUnrollRuntimeCount;
-
+ if (PragmaEnableUnroll && ForcePragmaUnroll)
+ UP.AllowExpensiveTripCount = true;
----------------
adelejjeh wrote:
Just wanted to add, the intent of moving towards what you are suggesting is
pending more testing to make sure we fully understand the ramifications on
different workloads if we change the default behavior of the compiler.
https://github.com/llvm/llvm-project/pull/180961
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits