[llvm] f1a87d4 - [hexagon] Turning off sign mismatch warning by default.
Brian Cain via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 8 07:18:21 PST 2023
Author: Brian Cain
Date: 2023-02-08T07:17:53-08:00
New Revision: f1a87d476cc1d4a361917ed7e44e11ac5bc5636d
URL: https://github.com/llvm/llvm-project/commit/f1a87d476cc1d4a361917ed7e44e11ac5bc5636d
DIFF: https://github.com/llvm/llvm-project/commit/f1a87d476cc1d4a361917ed7e44e11ac5bc5636d.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
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-commits
mailing list