Skip to content

Instantly share code, notes, and snippets.

@brainlag
Created February 19, 2018 22:02
Show Gist options
  • Save brainlag/b6498d15947c2be343403d6d901f8349 to your computer and use it in GitHub Desktop.
Save brainlag/b6498d15947c2be343403d6d901f8349 to your computer and use it in GitHub Desktop.
; RUN: llc < %s -march=avr | FileCheck %s
declare i8 @do_something(i8 %val)
define { i1, i8 } @main(i8) #2 {
; CHECK-LABEL: main
entry:
%1 = call zeroext i8 @do_something(i8 zeroext %0)
%2 = insertvalue { i1, i8 } { i1 true, i8 undef }, i8 %1, 1
ret { i1, i8 } %2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment