aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/SelectionDAGNodes.h
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-07-07 00:08:12 +0000
committerDuncan Sands <baldrick@free.fr>2008-07-07 00:08:12 +0000
commit6627c56987be5203d44db5e3206f4a4f2b1bbe71 (patch)
treea250c532fa6a184900b4074c0fdb8b8dc95ad865 /include/llvm/CodeGen/SelectionDAGNodes.h
parent46aa9c11795d8472f0dd01dac6d4961f3e24cf3f (diff)
downloadexternal_llvm-6627c56987be5203d44db5e3206f4a4f2b1bbe71.zip
external_llvm-6627c56987be5203d44db5e3206f4a4f2b1bbe71.tar.gz
external_llvm-6627c56987be5203d44db5e3206f4a4f2b1bbe71.tar.bz2
LegalizeTypes soft-float support for stores of a
float value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index caa077d..0831d43 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -2150,8 +2150,10 @@ public:
///
class StoreSDNode : public LSBaseSDNode {
virtual void ANCHOR(); // Out-of-line virtual method to give class a home.
-
- // IsTruncStore - True if the op does a truncation before store.
+
+ // IsTruncStore - True if the op does a truncation before store. For
+ // integers this is the same as doing a TRUNCATE and storing the result.
+ // For floats, it is the same as doing an FP_ROUND and storing the result.
bool IsTruncStore;
protected:
friend class SelectionDAG;