[llvm] [SandboxIR] Implement Instruction flags (PR #103343)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 13 18:41:35 PDT 2024
================
@@ -682,6 +682,106 @@ class Instruction : public sandboxir::User {
/// For isa/dyn_cast.
static bool classof(const sandboxir::Value *From);
+ /// Determine whether the no signed wrap flag is set.
+ bool hasNoUnsignedWrap() const LLVM_READONLY {
----------------
aeubanks wrote:
I wouldn't mark these with LLVM_READONLY, who knows what the implementation might do under the hood
https://github.com/llvm/llvm-project/pull/103343
More information about the llvm-commits
mailing list