mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 01:43:06 +00:00
GCC 3.1 changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3071 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f5569152c
commit
ceadf0514b
@ -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…
Reference in New Issue
Block a user