aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorKarl Schimpf <kschimpf@google.com>2013-06-13 13:14:11 -0700
committerKarl Schimpf <kschimpf@google.com>2013-06-13 13:14:11 -0700
commitddadc78689898ac52d1e5959487e986dac67f549 (patch)
tree09859cc869410d484684c32ff8c4284f9c997b71 /include/llvm/Bitcode
parent5d2171152d8441be311af367276e7e016877c05c (diff)
Insulate PNaCl bitcode from LLVM encodings of floating point optimization flags.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3405 R=jvoung@chromium.org Review URL: https://codereview.chromium.org/16836017
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r--include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
index bf31c5bea3..b402ca2db8 100644
--- a/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
+++ b/include/llvm/Bitcode/NaCl/NaClLLVMBitCodes.h
@@ -248,6 +248,16 @@ namespace naclbitc {
PEO_EXACT = 0
};
+ /// \brief Flags for serializing floating point binary operators's
+ /// SubclassOptionalData contents.
+ enum NaClFloatingPointBinaryOperatorOptionalFlags {
+ FPO_UNSAFE_ALGEBRA = 0,
+ FPO_NO_NANS = 1,
+ FPO_NO_INFS = 2,
+ FPO_NO_SIGNED_ZEROS = 3,
+ FPO_ALLOW_RECIPROCAL = 4
+ };
+
/// Encoded AtomicOrdering values.
enum NaClAtomicOrderingCodes {
ORDERING_NOTATOMIC = 0,