mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
f6ef7f16ab
llvm-svn: 366643
13 lines
352 B
LLVM
13 lines
352 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
|
; RUN: opt < %s -instcombine -S | FileCheck %s
|
|
; PR2756
|
|
|
|
define <2 x i8> @foo(<2 x i8> %x) {
|
|
; CHECK-LABEL: @foo(
|
|
; CHECK-NEXT: [[A:%.*]] = srem <2 x i8> [[X:%.*]], <i8 2, i8 2>
|
|
; CHECK-NEXT: ret <2 x i8> [[A]]
|
|
;
|
|
%A = srem <2 x i8> %x, <i8 2, i8 -2>
|
|
ret <2 x i8> %A
|
|
}
|