mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
add a note from llvmdev
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122603 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe024d0a62
commit
1dc5db2beb
@ -2065,3 +2065,14 @@ entry:
|
||||
}
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
This compare could fold to false:
|
||||
|
||||
define i1 @g(i32 a) nounwind readnone {
|
||||
%add = shl i32 %a, 1
|
||||
%mul = shl i32 %a, 1
|
||||
%cmp = icmp ugt i32 %add, %mul
|
||||
ret i1 %cmp
|
||||
}
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user