From 15c13d3e63d7745bccad74d547af4e3482193eaa Mon Sep 17 00:00:00 2001 From: Michael Ilseman Date: Tue, 27 Nov 2012 00:42:44 +0000 Subject: Fast-math flags for LLVM IR parsing and printing Added in the ability to read LLVM IR text that contains fast-math flags as a sequence of capital letters separated by spaces in any order. Added in the printing of the fast-math flags in a canonical order, and don't print the other flags when 'fast' is specified, as 'fast' implies all the others. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168645 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/LLToken.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/AsmParser/LLToken.h') diff --git a/lib/AsmParser/LLToken.h b/lib/AsmParser/LLToken.h index 036686d..1ec1b1e 100644 --- a/lib/AsmParser/LLToken.h +++ b/lib/AsmParser/LLToken.h @@ -60,6 +60,11 @@ namespace lltok { kw_atomic, kw_unordered, kw_monotonic, kw_acquire, kw_release, kw_acq_rel, kw_seq_cst, kw_singlethread, + kw_nnan, + kw_ninf, + kw_nsz, + kw_arcp, + kw_fast, kw_nuw, kw_nsw, kw_exact, -- cgit v1.1