1; RUN: llc < %s -mtriple=avr -mcpu=atmega328 -O1 -verify-machineinstrs | FileCheck %s 2; CHECK-NOT: stdwstk 3 4; Checks that we expand STDWSPQRr always - even if it appears outside of the 5; FrameSetup/FrameDestroy context. 6 7declare { } @foo(i128, i128) addrspace(1) 8 9define i128 @bar(i128 %a, i128 %b) addrspace(1) { 10 %b_neg = icmp slt i128 %b, 0 11 %divisor = select i1 %b_neg, i128 0, i128 %b 12 %result = tail call fastcc addrspace(1) { } @foo(i128 undef, i128 %divisor) 13 14 ret i128 0 15} 16