aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2021-05-13 12:18:36 +0100
committerFraser Cormack <fraser@codeplay.com>2021-05-17 09:15:55 +0100
commit85e31eddf216181c6b8b26bca760f3395d621f9a (patch)
treef6aa6f9020c887f94b4396843ff879e0b345c07f /clang/lib/Basic/Module.cpp
parenta18b5f0188b5929a58790dd0f57c06098d276fd1 (diff)
downloadllvm-85e31eddf216181c6b8b26bca760f3395d621f9a.zip
llvm-85e31eddf216181c6b8b26bca760f3395d621f9a.tar.gz
llvm-85e31eddf216181c6b8b26bca760f3395d621f9a.tar.bz2
[DAGCombiner] Relax an assertion to an early return
The select-of-constants transform was asserting that its constant vector inputs did not implicitly truncate their input without that as an explicit precondition to the function. This patch relaxes that assertion into an early return to skip the optimization. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D102393
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions