================ @@ -439,6 +439,26 @@ struct AAAMDAttributesFunction : public AAAMDAttributes { indicatePessimisticFixpoint(); return; } + + SmallPtrSet<const Constant *, 8> VisitedConsts; + + for (Instruction &I : instructions(F)) { ---------------- arsenm wrote:
Should use checkForAllInstructions instead of manually looking at all instructions https://github.com/llvm/llvm-project/pull/94647 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits