[llvm] [GVN][NewGVN] Take call attributes into account in expressions (PR #114545)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 1 08:21:06 PDT 2024


================
@@ -143,6 +143,8 @@ struct llvm::GVNPass::Expression {
   Type *type = nullptr;
   SmallVector<uint32_t, 4> varargs;
 
+  std::optional<AttributeList> attrs;
----------------
nikic wrote:

You don't need std::optional, AttributeList is its own optional.

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


More information about the llvm-commits mailing list