Revert "[InstCombine] Treat passing undef to noundef params as UB"
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Fri, 2 Sep 2022 11:09:50 +0000 (16:09 +0500)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Fri, 2 Sep 2022 11:09:50 +0000 (16:09 +0500)
commit18de7c6a3b3689bf69215429bde1fb2330a3e69d
treea5a034245f769c1bb35fee4c8577161f747c6c25
parent8a4d6133deefc9ef63bc11481323608faff8f13c
Revert "[InstCombine] Treat passing undef to noundef params as UB"

This reverts commit c911befaec494c52a63e3b957e28d449262656fb.

It has broken LLDB Arm/AArch64 Linux buildbots. I dont really understand
the underlying reason. Reverting for now make buildbot green.

https://reviews.llvm.org/D133036
clang/test/CodeGenOpenCL/overload.cl
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/call-undef.ll
llvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll