[PATCH] D137454: [InstCombine] Avoid passing pow attributes to sqrt
Miguel Saldivar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 4 16:13:25 PDT 2022
Saldivarcher added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp:2102
bool Ignored;
+ AttributeList Attrs; // Attributes are only meaningful on the original call
----------------
spatel wrote:
> If we don't need the Attrs for any other transforms, it would be better to declare/init it just above the code where it is used.
Just seen this, let me declare above the call.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137454/new/
https://reviews.llvm.org/D137454
More information about the llvm-commits
mailing list