mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
c31ae50c04
for each 'COM =' line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14147 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
351 B
Plaintext
12 lines
351 B
Plaintext
; RUN: llvm-as < %s | llc -march=x86 | grep com | wc -l > %t2
|
|
; RUN: grep 'COM =' %s | grep -v grep | wc -l > %t1
|
|
; RUN: diff %t1 %t2
|
|
declare bool %llvm.isnan(double)
|
|
|
|
bool %test1(double %X, double %Y) { ;; Returns isunordered(X,Y)
|
|
%a = call bool %llvm.isnan(double %X)
|
|
%b = call bool %llvm.isnan(double %Y)
|
|
%COM = or bool %a, %b
|
|
ret bool %COM
|
|
}
|