aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2012-08-24 14:02:12 -0700
committerDerek Schuff <dschuff@chromium.org>2012-08-24 14:02:12 -0700
commitc4d12e6c99fcc1d28b46f43cd85c5e3abc88edc0 (patch)
tree50b1660125a5b936c21364c403a9f83e12581607 /include
parent745ca5f2685c11476d9d1ad86bb3f83754130227 (diff)
Remove llvm.nacl.tp.alignment intrinsic
This intrinsic is no longer used by untrusted code's libpthread. Instead the system (the IRT and/or TCB) is responsible for aligning the stack in new threads. R= jvoung@chromium.org,sehr@chromium.org BUG= http://code.google.com/p/nativeclient/issues/detail?id=2924 TEST=run_stack_alignment_test Review URL: https://chromiumcodereview.appspot.com/10871069
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h1
-rw-r--r--include/llvm/Intrinsics.td2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h
index 68fcb3e17b..2d8181cf6a 100644
--- a/include/llvm/CodeGen/ISDOpcodes.h
+++ b/include/llvm/CodeGen/ISDOpcodes.h
@@ -641,7 +641,6 @@ namespace ISD {
// NACL_* - Native Client instrinsics.
// These correspond to functions in:
// native_client/src/untrusted/nacl/tls_params.h
- NACL_TP_ALIGN,
NACL_TP_TLS_OFFSET,
NACL_TP_TDB_OFFSET,
// Expands to the target architecture enumeration value.
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td
index e9a4e3aaaf..116d80586c 100644
--- a/include/llvm/Intrinsics.td
+++ b/include/llvm/Intrinsics.td
@@ -465,8 +465,6 @@ def int_nacl_longjmp : Intrinsic<[], [llvm_ptr_ty, llvm_i32_ty]>,
// the interface in native_client/src/untrusted/nacl/tls_params.h.
// The intrinsic names are basically the functions there without the
// leading underscores.
-def int_nacl_tp_alignment : Intrinsic<[llvm_i32_ty], []>,
- GCCBuiltin<"__builtin_nacl_tp_alignment">;
def int_nacl_tp_tls_offset : Intrinsic<[llvm_i32_ty], [llvm_i32_ty]>,
GCCBuiltin<"__builtin_nacl_tp_tls_offset">;
def int_nacl_tp_tdb_offset : Intrinsic<[llvm_i32_ty], [llvm_i32_ty]>,