mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-24 02:38:42 +00:00
Remove dead expression.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75d3226b5e
commit
f690bc8c07
@ -166,7 +166,7 @@ Instruction* llvm::UpgradeIntrinsicCall(CallInst *CI) {
|
|||||||
bool llvm::UpgradeCallsToIntrinsic(Function* F) {
|
bool llvm::UpgradeCallsToIntrinsic(Function* F) {
|
||||||
if (Function* newF = UpgradeIntrinsicFunction(F)) {
|
if (Function* newF = UpgradeIntrinsicFunction(F)) {
|
||||||
for (Value::use_iterator UI = F->use_begin(), UE = F->use_end();
|
for (Value::use_iterator UI = F->use_begin(), UE = F->use_end();
|
||||||
UI != UE; UI) {
|
UI != UE; ) {
|
||||||
if (CallInst* CI = dyn_cast<CallInst>(*UI++)) {
|
if (CallInst* CI = dyn_cast<CallInst>(*UI++)) {
|
||||||
std::vector<Value*> Oprnds;
|
std::vector<Value*> Oprnds;
|
||||||
User::op_iterator OI = CI->op_begin();
|
User::op_iterator OI = CI->op_begin();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user