[llvm] [ConstantRange] Bail out early in unsignedMulMayOverflow for wide integer types (PR #192275)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 02:53:46 PDT 2026
================
@@ -157,6 +157,10 @@ As a result, alignment is mandatory for atomic loads and stores.
Other Things to Consider
^^^^^^^^^^^^^^^^^^^^^^^^
+#. Avoid emitting extremely wide integer types.
+ The optimizer is not designed for types exceeding a few thousand bits,
+ and the super-linear complexity of several passes will cause extreme compile-time delays.
----------------
aengelke wrote:
Might be worth noting that the generated code is often sub-par as well...
https://github.com/llvm/llvm-project/pull/192275
More information about the llvm-commits
mailing list