aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2017-10-03 12:45:18 +0000
committerOliver Stannard <oliver.stannard@arm.com>2017-10-03 12:45:18 +0000
commit68aa7de5172002935b14549aedeb7310b0b715e5 (patch)
tree28656d36662d5e8b977fccbca046ef024d5c67f3 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parentcf99d069c34beb3343747cdbd6dd82a244ddd2e0 (diff)
downloadllvm-68aa7de5172002935b14549aedeb7310b0b715e5.zip
llvm-68aa7de5172002935b14549aedeb7310b0b715e5.tar.gz
llvm-68aa7de5172002935b14549aedeb7310b0b715e5.tar.bz2
[ARM, Asm] Fix ubsan failure caused by out-of-range enum value
In this code, we use ~0U as a sentinel value for any operand class that doesn't have a user-friendly error message, but this value isn't in range of the MatchClassKind enum, so we need to ensure it does not get passed to isSubclass. llvm-svn: 314793
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions