mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Fix an 80-column violation.
llvm-svn: 70925
This commit is contained in:
parent
6bfe85b985
commit
eecaa636fb
@ -1224,7 +1224,8 @@ SCEVHandle ScalarEvolution::getMulExpr(std::vector<SCEVHandle> &Ops) {
|
||||
return Result;
|
||||
}
|
||||
|
||||
SCEVHandle ScalarEvolution::getUDivExpr(const SCEVHandle &LHS, const SCEVHandle &RHS) {
|
||||
SCEVHandle ScalarEvolution::getUDivExpr(const SCEVHandle &LHS,
|
||||
const SCEVHandle &RHS) {
|
||||
if (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS)) {
|
||||
if (RHSC->getValue()->equalsInt(1))
|
||||
return LHS; // X udiv 1 --> x
|
||||
|
Loading…
Reference in New Issue
Block a user