[all-commits] [llvm/llvm-project] 41f497: [ConstProp] Handle insertelement constants
aeubanks via All-commits
all-commits at lists.llvm.org
Thu Aug 13 16:02:25 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 41f49736a9a06650d9d4f1ada21d051585ab7bbe
https://github.com/llvm/llvm-project/commit/41f49736a9a06650d9d4f1ada21d051585ab7bbe
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2020-08-13 (Thu, 13 Aug 2020)
Changed paths:
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Transforms/InstSimplify/vscale.ll
Log Message:
-----------
[ConstProp] Handle insertelement constants
Previously ConstantFoldExtractElementInstruction() would only work with
insertelement instructions, not contants. This properly handles
insertelement constants as well.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D85865
More information about the All-commits
mailing list