while we're at it, handle 'sdiv exact' of a power of 2 also,
commitf051c1a29dd040b4b5ca0c5696d47a9058f87481
authorChris Lattner <sabre@nondot.org>
Mon, 18 Apr 2011 07:00:40 +0000 (18 07:00 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 18 Apr 2011 07:00:40 +0000 (18 07:00 +0000)
treef55cd7f6174aa97971946740fd80743f45bde6f7
parent090ca9108b35a60e8b97b67987d00cf47a383dba
while we're at it, handle 'sdiv exact' of a power of 2 also,
this fixes a few rejects on c++ iterator loops.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129694 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
test/CodeGen/X86/fast-isel-x86-64.ll