================
@@ -34,5 +34,9 @@ ENUM_LOWERINGOPT(NoPPCNativeVecElemOrder, unsigned, 1, 0)
 /// On by default.
 ENUM_LOWERINGOPT(Underscoring, unsigned, 1, 1)
 
+/// If true, add nsw flags to arithmetic operations for integer.
+/// Off by default.
+ENUM_LOWERINGOPT(NoSignedWrap, unsigned, 1, 0)
----------------
vzakhari wrote:

`NoSignedWrap` sounds too generic for an option that only forces setting `NSW` 
for the loop variables' increments.  Please consider renaming or at least make 
the scope of `NSW` assignment clear in the comment above.

https://github.com/llvm/llvm-project/pull/91579
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to