OSDN Git Service

[InstSimplify] Use the getTrue/getFalse helpers and make sure we use the computed...
authorCraig Topper <craig.topper@gmail.com>
Tue, 6 Jun 2017 07:13:13 +0000 (07:13 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 6 Jun 2017 07:13:13 +0000 (07:13 +0000)
commit7002e8b635d551c3d384ab36e3d0ab2074f61d66
treefaf219f960253a9ee8895a2312b0ff8cbe825a15
parent43a5f59f148b09e7ce2495a7d61bf8fdb06c2a52
[InstSimplify] Use the getTrue/getFalse helpers and make sure we use the computed result type instead of hardcoding to i1. NFC

Currently, isKnownNonEqual punts on vectors so the hardcoding to i1 doesn't matter. But I plan to fix that in a future patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304773 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp