aboutsummaryrefslogtreecommitdiffstats
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
parent2131e2a75fc562e4dbaeb6954eac35147c71104f (diff)
downloadexternal_llvm-d622b0b2088e7b4fbc7b9250b7240fcbbc469260.zip
external_llvm-d622b0b2088e7b4fbc7b9250b7240fcbbc469260.tar.gz
external_llvm-d622b0b2088e7b4fbc7b9250b7240fcbbc469260.tar.bz2
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
-rw-r--r--utils/llvm.grm2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/llvm.grm b/utils/llvm.grm
index d391e2a..fa0dcd1 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