aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/123 llvm ir and assembly/square.ll
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-08-18 23:58:49 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-08-19 12:39:46 +0300
commit972535a6ac9fb1f9611c1b68293f7df88ec1b1f7 (patch)
treeed17817547da3e20c5c3080075c8924c24f6b3f9 /test cases/common/123 llvm ir and assembly/square.ll
parentedf901431272e5bb348e265113179c337f65a881 (diff)
downloadmeson-972535a6ac9fb1f9611c1b68293f7df88ec1b1f7.zip
meson-972535a6ac9fb1f9611c1b68293f7df88ec1b1f7.tar.gz
meson-972535a6ac9fb1f9611c1b68293f7df88ec1b1f7.tar.bz2
Condense test dirs.
Diffstat (limited to 'test cases/common/123 llvm ir and assembly/square.ll')
-rw-r--r--test cases/common/123 llvm ir and assembly/square.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/common/123 llvm ir and assembly/square.ll b/test cases/common/123 llvm ir and assembly/square.ll
new file mode 100644
index 0000000..7c321aa
--- /dev/null
+++ b/test cases/common/123 llvm ir and assembly/square.ll
@@ -0,0 +1,4 @@
+define i32 @square_unsigned(i32 %a) {
+ %1 = mul i32 %a, %a
+ ret i32 %1
+}