1 ; Ensure that multiplication is lowered to function calls when the 64-bit
2 ; multiplier unit is not available in the hardware and that function calls
3 ; are not used when the 64-bit multiplier unit is available in the hardware.
5 ; RUN: llc < %s -march=mblaze | FileCheck -check-prefix=FUN %s
6 ; RUN: llc < %s -march=mblaze -mattr=+mul,+mul64 | \
7 ; RUN: FileCheck -check-prefix=MUL %s
9 define i64 @test_i64(i64 %a, i64 %b) {
13 %tmp.1 = mul i64 %a, %b