aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2022-03-06 18:35:34 +0000
committerDavid Green <david.green@arm.com>2022-03-06 18:35:34 +0000
commit4388f4f77694579b088e302204ecfa5588486f06 (patch)
treee0d03769a3b3df31027747b70857e6bc5f8fb1ea /clang/lib/Basic/Module.cpp
parent924eac4942408fc0cd5490af76a6d23011a542d1 (diff)
downloadllvm-4388f4f77694579b088e302204ecfa5588486f06.zip
llvm-4388f4f77694579b088e302204ecfa5588486f06.tar.gz
llvm-4388f4f77694579b088e302204ecfa5588486f06.tar.bz2
[DAG] Don't convert undef to 0 when creating buildvector
When inserting undef into buildvectors created from shuffles of buildvectors, we convert elements to the largest needed type. This had the effect of converting undef into 0, which isn't needed as the buildvector implicitly truncates and trunc(zext(undef)) == undef. Differential Revision: https://reviews.llvm.org/D121002
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions