llvm.org GIT mirror llvm / release_80 test / Transforms / InstSimplify / 2011-02-01-Vector.ll
release_80

Tree @release_80 (Download .tar.gz)

2011-02-01-Vector.ll @release_80raw · history · blame

1
2
3
4
5
6
7
8
; RUN: opt < %s -instsimplify -S | FileCheck %s

define <2 x i32> @sdiv(<2 x i32> %x) {
; CHECK-LABEL: @sdiv(
  %div = sdiv <2 x i32> %x, <i32 1, i32 1>
  ret <2 x i32> %div
; CHECK: ret <2 x i32> %x
}