summaryrefslogtreecommitdiff
path: root/include/llvm/Target/Target.td
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-02-14 16:31:06 +0000
committerTim Northover <Tim.Northover@arm.com>2013-02-14 16:31:06 +0000
commitff9d058f2865bca72f63dd9d7d7067c49f95f33c (patch)
tree5fb4e5bad6e2ee5254e11aaeb797920e8b70669a /include/llvm/Target/Target.td
parente186d7191c2cf95753a9790b1490df8a07416daa (diff)
downloadllvm-ff9d058f2865bca72f63dd9d7d7067c49f95f33c.tar.gz
llvm-ff9d058f2865bca72f63dd9d7d7067c49f95f33c.tar.bz2
llvm-ff9d058f2865bca72f63dd9d7d7067c49f95f33c.tar.xz
Add deprecation of neverHasSideEffects to documentation comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/Target.td')
-rw-r--r--include/llvm/Target/Target.td5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td
index 1781e477f2..876479bf8a 100644
--- a/include/llvm/Target/Target.td
+++ b/include/llvm/Target/Target.td
@@ -367,8 +367,9 @@ class Instruction {
// hasSideEffects - The instruction has side effects that are not
// captured by any operands of the instruction or other flags.
//
- // neverHasSideEffects - Set on an instruction with no pattern if it has no
- // side effects.
+ // neverHasSideEffects (deprecated) - Set on an instruction with no pattern
+ // if it has no side effects. This is now equivalent to setting
+ // "hasSideEffects = 0".
bit hasSideEffects = ?;
bit neverHasSideEffects = 0;