mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
Use 0 instead of false to return a null pointer.
llvm-svn: 57660
This commit is contained in:
parent
5a693288f6
commit
133708df57
@ -163,7 +163,7 @@ LoopPass *llvm::createLoopUnswitchPass(bool Os) {
|
||||
/// Otherwise, return null.
|
||||
static Value *FindLIVLoopCondition(Value *Cond, Loop *L, bool &Changed) {
|
||||
// Constants should be folded, not unswitched on!
|
||||
if (isa<Constant>(Cond)) return false;
|
||||
if (isa<Constant>(Cond)) return 0;
|
||||
|
||||
// TODO: Handle: br (VARIANT|INVARIANT).
|
||||
// TODO: Hoist simple expressions out of loops.
|
||||
|
Loading…
Reference in New Issue
Block a user