aboutsummaryrefslogtreecommitdiff
path: root/utils/llvm.grm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-04 00:13:24 +0000
committerDan Gohman <gohman@apple.com>2010-05-04 00:13:24 +0000
commitd622b0b2088e7b4fbc7b9250b7240fcbbc469260 (patch)
tree80436c24c6dcdae4f7877d58c1d38770842c1a04 /utils/llvm.grm
parent2131e2a75fc562e4dbaeb6954eac35147c71104f (diff)
Add a polygen rule that reflects the fact that nsw and nuw can be
used together in either order. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/llvm.grm')
-rw-r--r--utils/llvm.grm2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/llvm.grm b/utils/llvm.grm
index d391e2aeab..fa0dcd1e15 100644
--- a/utils/llvm.grm
+++ b/utils/llvm.grm
@@ -398,7 +398,7 @@ OptVolatile ::= - volatile | _ ;
OptExact ::= - exact | _ ;
OptNSW ::= - nsw | _ ;
OptNUW ::= - nuw | _ ;
-OptNW ::= OptNUW OptNSW ;
+OptNW ::= OptNUW OptNSW | OptNSW OptNUW ;
OptInBounds ::= - inbounds | _ ;
MemoryInst ::= malloc Types OptCAlign