mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
of using llvm-as, now that opt supports this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
189 B
LLVM
9 lines
189 B
LLVM
; RUN: opt %s -instcombine | llvm-dis | not grep i41
|
|
|
|
define i61 @test1(i61 %X) {
|
|
%Y = trunc i61 %X to i41 ;; Turn i61o an AND
|
|
%Z = zext i41 %Y to i61
|
|
ret i61 %Z
|
|
}
|
|
|