Files
sdk/runtime/llvm_codegen/test/codegen/basic.ll
T
Jake Ehrlich b71d2d9996 [llvm] Add initial scaffolding
This change adds the gclient and GN changes needed to build
an executable using LLVM in the Dart tree as well as a basic
testing framework based on llvm-lit.

Change-Id: I9009a98ff95043cc3754966f31697ba7f1712310
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106434
Commit-Queue: Jake Ehrlich <jakehehrlich@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2019-06-28 23:14:11 +00:00

7 lines
91 B
LLVM

; RUN: %codegen %s > %t
define i32 @mult(i32, i32) {
%3 = mul i32 %0, %1
ret i32 %3
}