[llvm] 30b8f55 - Fix for sanitizer issue in 55c557a
Dmitry Preobrazhensky via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 07:40:28 PST 2021
Author: Dmitry Preobrazhensky
Date: 2021-01-18T18:39:55+03:00
New Revision: 30b8f55378cc57f7589694ca9bc4212ce7c2f4ec
URL: https://github.com/llvm/llvm-project/commit/30b8f55378cc57f7589694ca9bc4212ce7c2f4ec
DIFF: https://github.com/llvm/llvm-project/commit/30b8f55378cc57f7589694ca9bc4212ce7c2f4ec.diff
LOG: Fix for sanitizer issue in 55c557a
Added:
Modified:
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
index b10ea9ae99b7..5146271befff 100644
--- a/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+++ b/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
@@ -7370,7 +7370,7 @@ AMDGPUAsmParser::parseDPPCtrlSel(StringRef Ctrl) {
.Case("row_ror", {DppCtrl::ROW_ROR0, 1, 15})
.Case("row_share", {DppCtrl::ROW_SHARE_FIRST, 0, 15})
.Case("row_xmask", {DppCtrl::ROW_XMASK_FIRST, 0, 15})
- .Default({-1});
+ .Default({-1, 0, 0});
bool Valid;
if (Check.Ctrl == -1) {
More information about the llvm-commits
mailing list