Reapply: [SVE] Fix bug in simplification of scalable vector instructions
authorChristopher Tetreault <ctetreau@quicinc.com>
Mon, 3 Feb 2020 20:46:42 +0000 (12:46 -0800)
committerChristopher Tetreault <ctetreau@quicinc.com>
Wed, 5 Feb 2020 18:00:09 +0000 (10:00 -0800)
commitb03f3fbd6a6b8843469865b16c9eb3af8adc2d3a
tree710d322006b15e4df1b21bf04924f0484d68349f
parent9986b88e64f30f5d958eef113bae4c8a098eea93
Reapply: [SVE] Fix bug in simplification of scalable vector instructions

This reverts commit a05441038a3a4a011b9421751367c5c797d57137, reapplying
commit 31574d38ac5fa4646cf01dd252a23e682402134f
llvm/include/llvm/IR/Instructions.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/IR/ConstantFold.cpp
llvm/lib/IR/Instructions.cpp
llvm/test/Analysis/ConstantFolding/vscale-getelementptr.ll [new file with mode: 0644]
llvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll [new file with mode: 0644]