mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Fix typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30f017ad89
commit
f311f53a0f
@ -2135,7 +2135,7 @@ Instruction *InstCombiner::visitAdd(BinaryOperator &I) {
|
|||||||
// add (select (icmp A m) X Y) A
|
// add (select (icmp A m) X Y) A
|
||||||
//
|
//
|
||||||
// add (select X 0 (sub n A)) A ->
|
// add (select X 0 (sub n A)) A ->
|
||||||
// select X A n ->
|
// select X A n
|
||||||
{
|
{
|
||||||
SelectInst *SI = dyn_cast<SelectInst>(LHS);
|
SelectInst *SI = dyn_cast<SelectInst>(LHS);
|
||||||
Value *Other = RHS;
|
Value *Other = RHS;
|
||||||
|
@ -35,4 +35,4 @@ entry:
|
|||||||
%smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1]
|
%smax = select i1 %tmp16, i32 0, i32 %tmp15 ; <i32> [#uses=1]
|
||||||
%tmp12 = add i32 %smax, %a ; <i32> [#uses=1]
|
%tmp12 = add i32 %smax, %a ; <i32> [#uses=1]
|
||||||
ret i32 %tmp12
|
ret i32 %tmp12
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user