mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Use 0 instead of false to return a null pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57660 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c90a5c2878
commit
a1fcd77ccf
@ -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