mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 08:24:12 +00:00
Add feature test for llvm intrinsics. It currently contains only the "isunordered" intrinsic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14126 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
38a6cfe41e
commit
fd39b30a7a
12
test/Feature/intrinsics.ll
Normal file
12
test/Feature/intrinsics.ll
Normal file
@ -0,0 +1,12 @@
|
||||
declare bool "llvm.isunordered"(float, float)
|
||||
|
||||
implementation
|
||||
|
||||
; Test llvm intrinsics
|
||||
;
|
||||
void "void"(int, int)
|
||||
begin
|
||||
%c = call bool %llvm.isunordered(float 0.0, float 1.0)
|
||||
ret void
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user