diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-01-09 17:12:22 +0000 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2021-01-09 20:54:34 +0000 |
commit | 41d06095b0d22c940538f10a5fb0f44d43769e7f (patch) | |
tree | 75e8dcc57095891ada1a587d00998a0ddf2bd5a7 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 03d249396d6b736447d529915e77dfeb84f2eeae (diff) | |
download | llvm-41d06095b0d22c940538f10a5fb0f44d43769e7f.zip llvm-41d06095b0d22c940538f10a5fb0f44d43769e7f.tar.gz llvm-41d06095b0d22c940538f10a5fb0f44d43769e7f.tar.bz2 |
[SelectionDAG] Teach isConstOrConstSplat about ISD::SPLAT_VECTOR
This improves llvm::isConstOrConstSplat by allowing it to analyze
ISD::SPLAT_VECTOR nodes, in order to allow more constant-folding of
operations using scalable vector types.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D94168
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions