[llvm-branch-commits] [llvm] d0277dc - [hexagon] Turning off sign mismatch warning by default.

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 16 00:50:25 PST 2023


Author: Brian Cain
Date: 2023-02-16T09:48:31+01:00
New Revision: d0277dcd5fde9b7a5f6247ae8d1cedd189c0e32b

URL: https://github.com/llvm/llvm-project/commit/d0277dcd5fde9b7a5f6247ae8d1cedd189c0e32b
DIFF: https://github.com/llvm/llvm-project/commit/d0277dcd5fde9b7a5f6247ae8d1cedd189c0e32b.diff

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

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

Differential Revision: https://reviews.llvm.org/D143531

(cherry picked from commit f1a87d476cc1d4a361917ed7e44e11ac5bc5636d)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp b/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
index 248bd3130c250..9a2cf94edfe66 100644
--- a/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
+++ b/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
@@ -71,7 +71,7 @@ static cl::opt<bool> ErrorMissingParenthesis(
 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));


        


More information about the llvm-branch-commits mailing list