Use a CallSite to find the nth argument of a call/invoke instruction instead of
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 19 Jun 2008 08:53:24 +0000 (08:53 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 19 Jun 2008 08:53:24 +0000 (08:53 +0000)
commitf0da2039d17a3e6b72fd1c0df1f889afac65cbd0
tree3b57d034baa2b171bbecd0baec9b680e36e3327b
parent9954c76f2c89ab3c70bfe8222534621a86f9085a
Use a CallSite to find the nth argument of a call/invoke instruction instead of
using getOperand() directly. This makes things work with invoke instructions as
well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52489 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/IPConstantPropagation.cpp