mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-29 16:12:44 +00:00
GCC 3.1 changes
llvm-svn: 3071
This commit is contained in:
parent
85a79c0bf6
commit
2d2b8b4aee
@ -39,7 +39,7 @@ static bool isLoopInvariant(const Value *V, const Loop *L) {
|
||||
|
||||
enum InductionVariable::iType
|
||||
InductionVariable::Classify(const Value *Start, const Value *Step,
|
||||
const Loop *L = 0) {
|
||||
const Loop *L) {
|
||||
// Check for cannonical and simple linear expressions now...
|
||||
if (const ConstantInt *CStart = dyn_cast<ConstantInt>(Start))
|
||||
if (const ConstantInt *CStep = dyn_cast<ConstantInt>(Step)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user