Revert "[InstCombine] Fold 'check for [no] signed truncation' pattern"
authorBob Haarman <llvm@inglorion.net>
Wed, 18 Jul 2018 02:18:28 +0000 (02:18 +0000)
committerBob Haarman <llvm@inglorion.net>
Wed, 18 Jul 2018 02:18:28 +0000 (02:18 +0000)
commit4ebe5d59b65222a9b49993be9526588c6b5369f3
tree8f4bb6ff5a24b6ffaa97edb061ebe0ff2462bca9
parent4719c5245572b8cb501ee01015704369a9995c05
Revert "[InstCombine] Fold 'check for [no] signed truncation' pattern"

This reverts r337190 (and a few follow-up commits), which caused the
Chromium build to fail. See
https://bugs.llvm.org/show_bug.cgi?id=38204 and
https://crbug.com/864832

llvm-svn: 337344
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/canonicalize-lack-of-signed-truncation-check.ll
llvm/test/Transforms/InstCombine/canonicalize-signed-truncation-check.ll