blob: 48618e7d0219167c3d9f3e255bd8d4e017a19f06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
; RUN: llc < %s -O0
; PR36564
; Test that fast-isel properly copes with i24 arguments and return types.
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32-unknown-unknown"
define i24 @add(i24 %x, i24 %y) {
%z = add i24 %x, %y
ret i24 %z
}
define i24 @return_zero() {
ret i24 0
}
|