[RS4GC] Update and simplify handling of Constants in findBaseDefiningValueOfVector().
authorManuel Jacob <me@manueljacob.de>
Sat, 9 Jan 2016 04:02:16 +0000 (04:02 +0000)
committerManuel Jacob <me@manueljacob.de>
Sat, 9 Jan 2016 04:02:16 +0000 (04:02 +0000)
commitf7f825a80324090e6003efd1db6b9c62cef8146f
tree6222ee8e6f9629b2e65b498ec94eb5f0ffbc4b9b
parent38c36e3216d68c8907fb52001a64b5930097a6e2
[RS4GC] Update and simplify handling of Constants in findBaseDefiningValueOfVector().

Summary:
This is analogous to r256079, which removed an overly strong assertion, and
r256812, which simplified the code by replacing three conditionals by one.

Reviewers: reames

Subscribers: sanjoy, llvm-commits

Differential Revision: http://reviews.llvm.org/D16019

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257250 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
test/Transforms/RewriteStatepointsForGC/constants.ll