/extra/llvm/reader/add.ll

http://github.com/abeaumont/factor · LLVM IR · 5 lines · 5 code · 0 blank · 0 comment · 0 complexity · 014b90d3b35455f5e6578787a1c08a9b MD5 · raw file

  1. define i32 @add(i32 %x, i32 %y) {
  2. entry:
  3. %sum = add i32 %x, %y
  4. ret i32 %sum
  5. }