From d622b0b2088e7b4fbc7b9250b7240fcbbc469260 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 4 May 2010 00:13:24 +0000 Subject: [PATCH] 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 --- utils/llvm.grm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/llvm.grm b/utils/llvm.grm index d391e2aeab9..fa0dcd1e152 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