PTX: Add intrinsics to list of built-in intrinsics, which allows them to be

used by Clang.  To help Clang integration, the PTX target has been split
     into two targets: ptx32 and ptx64, depending on the desired pointer size.

- Add GCCBuiltin class to all intrinsics
- Split PTX target into ptx32 and ptx64

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129851 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Justin Holewinski
2011-04-20 15:37:17 +00:00
parent 3660a847f1
commit e1fee48cd0
31 changed files with 165 additions and 90 deletions

View File

@@ -1,4 +1,4 @@
; RUN: llc < %s -march=ptx | FileCheck %s
; RUN: llc < %s -march=ptx32 | FileCheck %s
; CHECK: .func (.reg .u32 r0) test_parameter_order (.reg .u32 r1, .reg .u32 r2)
define ptx_device i32 @test_parameter_order(i32 %x, i32 %y) {