aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorChristopher Tetreault <ctetreau@quicinc.com>2020-05-04 08:29:08 -0700
committerChristopher Tetreault <ctetreau@quicinc.com>2020-05-04 08:36:37 -0700
commit3b7f3d012bcdabf9314d0d3f4744c7594bfa55a7 (patch)
treeffa3d1e24f6812a20966ab98d3ac2448b55a9c48 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent015117411e11458f9816ba4359246132164a4297 (diff)
downloadllvm-3b7f3d012bcdabf9314d0d3f4744c7594bfa55a7.zip
llvm-3b7f3d012bcdabf9314d0d3f4744c7594bfa55a7.tar.gz
llvm-3b7f3d012bcdabf9314d0d3f4744c7594bfa55a7.tar.bz2
[SVE] Remove invalid usage of getNumElements in Instructions
Summary: Remove invalid usage of VectorType::getNumElements in ShuffleVectorInst::isValidOperands identified by test case llvm::Analysis/ConstantFolding/vscale-shufflevector.ll. The tested conditions hold for both fixed width and scalable vectors; use getElementCount(). Reviewers: efriedma, sdesmalen, c-rhodes, spatel Reviewed By: sdesmalen Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79212
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions