Small cleanups:
authorNick Lewycky <nicholas@mxc.ca>
Wed, 3 Aug 2011 01:11:40 +0000 (01:11 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 3 Aug 2011 01:11:40 +0000 (01:11 +0000)
commitdbd22550911ef20d09403d294090b480c03eeeca
tree4387374d7e4f5c3a8c2e6c89beb988d4c916ebe9
parentd0c0d444592a0fea209ea99ebcd1be274eee6692
Small cleanups:
  - use SmallVectorImpl& for the function argument.
  - ignore the operands on the GEP, even if they aren't constant! Much as we
    pretend the malloc succeeds, we pretend that malloc + whatever-you-GEP'd-by
    is not null. It's magic!

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