b71d2d9996
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>
7 lines
91 B
LLVM
7 lines
91 B
LLVM
; RUN: %codegen %s > %t
|
|
|
|
define i32 @mult(i32, i32) {
|
|
%3 = mul i32 %0, %1
|
|
ret i32 %3
|
|
}
|