diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-05-27 23:11:57 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-05-27 23:11:57 +0000 |
commit | a65850230af7f13d9111450f645886b968dea2a2 (patch) | |
tree | 6b0760ac796627a9dddbbbcc2a38bcf00f4aa2d8 /include/llvm | |
parent | 39f76bb6c8d6e7edb77805f770318ebd1727d0aa (diff) | |
download | external_llvm-a65850230af7f13d9111450f645886b968dea2a2.zip external_llvm-a65850230af7f13d9111450f645886b968dea2a2.tar.gz external_llvm-a65850230af7f13d9111450f645886b968dea2a2.tar.bz2 |
back out 104862/104869. Can reuse stacksave after all. Very cool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/ISDOpcodes.h | 3 | ||||
-rw-r--r-- | include/llvm/Intrinsics.td | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h index fdb9bfd..a5e9dd5 100644 --- a/include/llvm/CodeGen/ISDOpcodes.h +++ b/include/llvm/CodeGen/ISDOpcodes.h @@ -72,9 +72,6 @@ namespace ISD { // parent's frame or return address, and so on. FRAMEADDR, RETURNADDR, - // STACKADDR - The current stack pointer address. - STACKADDR, - // FRAME_TO_ARGS_OFFSET - This node represents offset from frame pointer to // first (possible) on-stack argument. This is needed for correct stack // adjustment during unwind. diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td index 42c16c3..444f514 100644 --- a/include/llvm/Intrinsics.td +++ b/include/llvm/Intrinsics.td @@ -197,13 +197,12 @@ def int_gcwrite : Intrinsic<[], def int_returnaddress : Intrinsic<[llvm_ptr_ty], [llvm_i32_ty], [IntrNoMem]>; def int_frameaddress : Intrinsic<[llvm_ptr_ty], [llvm_i32_ty], [IntrNoMem]>; -// Note: we treat stacksave/stackrestore and stackaddr as writemem because we -// don't otherwise model their dependencies on allocas. +// Note: we treat stacksave/stackrestore as writemem because we don't otherwise +// model their dependencies on allocas. def int_stacksave : Intrinsic<[llvm_ptr_ty]>, GCCBuiltin<"__builtin_stack_save">; def int_stackrestore : Intrinsic<[], [llvm_ptr_ty]>, GCCBuiltin<"__builtin_stack_restore">; -def int_stackaddress : Intrinsic<[llvm_ptr_ty], []>; // IntrWriteArgMem is more pessimistic than strictly necessary for prefetch, // however it does conveniently prevent the prefetch from being reordered |