[LLVM] Remove support for constant scalable vector GEPs.
authorPaul Walker <paul.walker@arm.com>
Mon, 27 Feb 2023 20:16:07 +0000 (20:16 +0000)
committerPaul Walker <paul.walker@arm.com>
Tue, 14 Mar 2023 16:48:33 +0000 (16:48 +0000)
commit62e46f262158e2a6ea9c1c458f52633bb40a8590
tree23dccb894f8248c32b6fac7f5db287c3a040cb32
parentfdda602c04e43f7be8820996d3161abb71bec67b
[LLVM] Remove support for constant scalable vector GEPs.

This work has fallen out from D134648 as a requirement to loosen
the "constness" of vscale.

Differential Revision: https://reviews.llvm.org/D145404
13 files changed:
llvm/include/llvm/Analysis/TargetFolder.h
llvm/include/llvm/IR/ConstantFolder.h
llvm/include/llvm/IR/Constants.h
llvm/lib/Analysis/ConstantFolding.cpp
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/IR/Constants.cpp
llvm/test/Bitcode/constexpr-scalable-vector-gep.ll
llvm/test/CodeGen/AArch64/sve-vscale.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale-inseltpoison.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale.ll
llvm/test/Transforms/InstSimplify/vscale-inseltpoison.ll
llvm/test/Transforms/InstSimplify/vscale.ll