aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/TapiFile.cpp
diff options
context:
space:
mode:
authorChristopher Tetreault <ctetreau@quicinc.com>2020-05-01 10:17:54 -0700
committerChristopher Tetreault <ctetreau@quicinc.com>2020-05-01 10:56:29 -0700
commitbeeabe382ddab1c47ca01de1d5e6165d5167bc7d (patch)
tree61eeef8286642d71339ebc6f418ba147caf9e453 /llvm/lib/Object/TapiFile.cpp
parent7fa150203f882bd7e4fbbfcff4580efe84d036c9 (diff)
downloadllvm-beeabe382ddab1c47ca01de1d5e6165d5167bc7d.zip
llvm-beeabe382ddab1c47ca01de1d5e6165d5167bc7d.tar.gz
llvm-beeabe382ddab1c47ca01de1d5e6165d5167bc7d.tar.bz2
[SVE] Fix invalid usage of VectorType::getNumElements() in InstCombine
Summary: Make foldVectorBinop return null if the instruction type is a scalable vector. It is unclear what, if any, of this function works with scalable vectors. Identified by test LLVM.Transforms/InstCombine::nsw.ll Reviewers: efriedma, david-arm, fpetrogalli, spatel Reviewed By: efriedma Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79196
Diffstat (limited to 'llvm/lib/Object/TapiFile.cpp')
0 files changed, 0 insertions, 0 deletions