1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -instcombine -S | FileCheck %s
5 define <2 x i8> @foo(<2 x i8> %x) {
7 ; CHECK-NEXT: [[A:%.*]] = srem <2 x i8> [[X:%.*]], <i8 2, i8 2>
8 ; CHECK-NEXT: ret <2 x i8> [[A]]
10 %A = srem <2 x i8> %x, <i8 2, i8 -2>