[all-commits] [llvm/llvm-project] 90b695: [IR][InstCombine] Support scalable vector splats C...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Sep 26 14:58:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 90b695d1f24cd9d6832acf9c7c64ec28a45bb4a1
https://github.com/llvm/llvm-project/commit/90b695d1f24cd9d6832acf9c7c64ec28a45bb4a1
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-09-26 (Mon, 26 Sep 2022)
Changed paths:
M llvm/lib/IR/Constants.cpp
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[IR][InstCombine] Support scalable vector splats ConstantExprs in Constant::getUniqueInteger().
I've left the getAggregateElement as a fast path for non-ConstantExprs
to avoid a call to getSplatValue in release builds.
Fixes PR57989.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D134670
More information about the All-commits
mailing list