mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 03:40:35 +00:00
add some random notes.
llvm-svn: 131862
This commit is contained in:
parent
a2e8770368
commit
84f101ea45
@ -40,6 +40,11 @@ static Value *simplifyValueKnownNonZero(Value *V, InstCombiner &IC) {
|
||||
return IC.Builder->CreateShl(One, A);
|
||||
}
|
||||
|
||||
// TODO: Lots more we could do here:
|
||||
// "1 >> X" could get an "isexact" bit.
|
||||
// If V is a phi node, we can call this on each of its operands.
|
||||
// "select cond, X, 0" can simplify to "X".
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user