mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
e010d3c940
for each 'COM =' line. llvm-svn: 14147
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
|
|
}
|