mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
9 lines
195 B
LLVM
9 lines
195 B
LLVM
|
; RUN: opt < %s -instsimplify -S | FileCheck %s
|
||
|
|
||
|
define <2 x i32> @sdiv(<2 x i32> %x) {
|
||
|
; CHECK: @sdiv
|
||
|
%div = sdiv <2 x i32> %x, <i32 1, i32 1>
|
||
|
ret <2 x i32> %div
|
||
|
; CHECK: ret <2 x i32> %x
|
||
|
}
|