diff options
author | Nikita Popov <npopov@redhat.com> | 2023-06-19 12:27:46 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-06-19 12:29:44 +0200 |
commit | 664b7a4cd51d9273888e79688f64cc8bbcbdbe25 (patch) | |
tree | 56fc551115d6b1319e5f7691ac6d673e9e38d21a /libcxx/src | |
parent | 6947db2778e0f4799f5311bc80fe7963aa8409c6 (diff) | |
download | llvm-664b7a4cd51d9273888e79688f64cc8bbcbdbe25.zip llvm-664b7a4cd51d9273888e79688f64cc8bbcbdbe25.tar.gz llvm-664b7a4cd51d9273888e79688f64cc8bbcbdbe25.tar.bz2 |
[SCCP] Fix conversion of range to constant for vectors (PR63380)
The ConstantRange specifies the range of the scalar elements in the
vector. When converting into a Constant, we need to create a vector
splat with the correct type. For that purpose, pass in the expected
type for the constant.
Fixes https://github.com/llvm/llvm-project/issues/63380.
Diffstat (limited to 'libcxx/src')
0 files changed, 0 insertions, 0 deletions