OSDN Git Service

[InstCombine] move foldICmpDivConstConst() contents to foldICmpDivConstant(); NFCI
authorSanjay Patel <spatel@rotateright.com>
Wed, 24 Aug 2016 23:03:36 +0000 (23:03 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 24 Aug 2016 23:03:36 +0000 (23:03 +0000)
commit1b1bb955bb51bc66f9d6b7c7533ab5cf7e6f1129
treeb7f5b180a048ae975ba5b7008e9a81210fc67a94
parent2af858265ddc69102d8c1cc036f5bb6dffaf3e99
[InstCombine] move foldICmpDivConstConst() contents to foldICmpDivConstant(); NFCI

There was no logic in foldICmpDivConstant, so no need for a separate function.
The code is directly copy/pasted, so further cleanups to follow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279685 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstCombineInternal.h