1 ; Test three-operand multiplication instructions on z14.
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 | FileCheck %s
6 define i32 @f1(i32 %dummy, i32 %a, i32 %b) {
8 ; CHECK: msrkc %r2, %r3, %r4
15 define i64 @f2(i64 %dummy, i64 %a, i64 %b) {
17 ; CHECK: msgrkc %r2, %r3, %r4
23 ; Verify that we still use MSGFR for i32->i64 multiplies.
24 define i64 @f3(i64 %a, i32 %b) {
26 ; CHECK: msgfr %r2, %r3
28 %bext = sext i32 %b to i64
29 %mul = mul i64 %a, %bext