projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR7952: Make isa<> use the same logic as cast<>, so that they both work
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
SCCP.cpp
diff --git
a/lib/Transforms/Scalar/SCCP.cpp
b/lib/Transforms/Scalar/SCCP.cpp
index db8eb850448f3668aa69dc9aad682068cccab86b..083412ed942dfd352cf098fe2e5613027725b700 100644
(file)
--- a/
lib/Transforms/Scalar/SCCP.cpp
+++ b/
lib/Transforms/Scalar/SCCP.cpp
@@
-655,7
+655,7
@@
bool SCCPSolver::isEdgeFeasible(BasicBlock *From, BasicBlock *To) {
// Just mark all destinations executable!
// TODO: This could be improved if the operand is a [cast of a] BlockAddress.
- if (isa<IndirectBrInst>(
&
TI))
+ if (isa<IndirectBrInst>(TI))
return true;
#ifndef NDEBUG