aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/InstSimplify/2011-02-01-Vector.ll
blob: 91f3442088a820be6dc393f7a65c0b16fec79665 (plain)
1
2
3
4
5
6
7
8
9
10
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -passes=instsimplify -S | FileCheck %s

define <2 x i32> @sdiv(<2 x i32> %x) {
; CHECK-LABEL: @sdiv(
; CHECK-NEXT:    ret <2 x i32> [[X:%.*]]
;
  %div = sdiv <2 x i32> %x, <i32 1, i32 1>
  ret <2 x i32> %div
}