[llvm] [GlobalIsel] Import GEP flags (PR #93850)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 01:55:55 PDT 2024


Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/93850 at github.com>


================
@@ -36,13 +36,13 @@ class GenericMachineInstr : public MachineInstr {
   }
 
   bool hasPoisonGeneratingFlags() const {
-    return getFlags() & (NoUWrap | NoSWrap | IsExact | Disjoint | NonNeg |
-                         FmNoNans | FmNoInfs);
+    return getFlags() & (NoUWrap | NoSWrap | NoUSWrap | IsExact | Disjoint |
+                         NonNeg | FmNoNans | FmNoInfs);
----------------
arsenm wrote:

We probably should define a constant mask for these somewhere instead of maintaining these 2 lists 

https://github.com/llvm/llvm-project/pull/93850


More information about the llvm-commits mailing list