mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[InstCombine] Regenerate vector srem tests
llvm-svn: 288509
This commit is contained in:
parent
78b2b93486
commit
4306301707
@ -1,7 +1,11 @@
|
||||
; RUN: opt < %s -instcombine -S | grep "srem <4 x i32>"
|
||||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt < %s -instcombine -S | FileCheck %s
|
||||
|
||||
define <4 x i32> @foo(<4 x i32> %t, <4 x i32> %u)
|
||||
{
|
||||
define <4 x i32> @foo(<4 x i32> %t, <4 x i32> %u) {
|
||||
; CHECK-LABEL: @foo(
|
||||
; CHECK-NEXT: [[K:%.*]] = srem <4 x i32> %t, %u
|
||||
; CHECK-NEXT: ret <4 x i32> [[K]]
|
||||
;
|
||||
%k = sdiv <4 x i32> %t, %u
|
||||
%l = mul <4 x i32> %k, %u
|
||||
%m = sub <4 x i32> %t, %l
|
||||
|
Loading…
x
Reference in New Issue
Block a user