llvm.org GIT mirror llvm / ff3d5d9
Fix preselection/lowerswitches bug git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9333 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
428428 return true;
429429
430430 if (isa(CV)) // can always use %g0
431 return false;
432
433 if (isa(I)) // Switch instructions will be lowered!
431434 return false;
432435
433436 if (const ConstantInt* CI = dyn_cast(CV))