mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-24 12:29:33 +00:00
11 lines
314 B
LLVM
11 lines
314 B
LLVM
|
; RUN: opt -mtriple=arm64-darwin-unknown -S -consthoist < %s | FileCheck %s
|
||
|
|
||
|
define i128 @test1(i128 %a) nounwind {
|
||
|
; CHECK-LABEL: test1
|
||
|
; CHECK: %const = bitcast i128 12297829382473034410122878 to i128
|
||
|
%1 = add i128 %a, 12297829382473034410122878
|
||
|
%2 = add i128 %1, 12297829382473034410122878
|
||
|
ret i128 %2
|
||
|
}
|
||
|
|