[PATCH] D143531: [hexagon] Turning off sign mismatch warning by default.

Brian Cain via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 15:43:20 PST 2023


bcain created this revision.
bcain added reviewers: kparzysz, quic-akaryaki.
Herald added a subscriber: hiraditya.
Herald added a project: All.
bcain requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Patch-by: Colin Lemahieu <colinl at codeaurora.org>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143531

Files:
  llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp


Index: llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
===================================================================
--- llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
+++ llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
@@ -71,7 +71,7 @@
 static cl::opt<bool> WarnSignedMismatch(
     "mwarn-sign-mismatch",
     cl::desc("Warn for mismatching a signed and unsigned value"),
-    cl::init(true));
+    cl::init(false));
 static cl::opt<bool> WarnNoncontigiousRegister(
     "mwarn-noncontigious-register",
     cl::desc("Warn for register names that arent contigious"), cl::init(true));


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143531.495663.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230207/66a9033b/attachment.bin>


More information about the llvm-commits mailing list