Increase the number of attributor iterations on a GPU target. I forgot to
change this in D104416.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG. Please clang format. Since this was already discussed and approved, feel free to submit such things.
llvm/lib/Transforms/IPO/OpenMPOpt.cpp | ||
---|---|---|
2671 | Building with GCC I get a warning here: llvm-project/llvm/lib/Transforms/IPO/OpenMPOpt.cpp:2671:37: warning: address of function 'isOpenMPDevice' will always evaluate to 'true' [-Wpointer-bool-conversion] unsigned MaxFixponitIterations = (isOpenMPDevice) ? 128 : 32; ^~~~~~~~~~~~~~ ~ /home/david.spickett/llvm-project/llvm/lib/Transforms/IPO/OpenMPOpt.cpp:2671:37: note: prefix with the address-of operator to silence this warning unsigned MaxFixponitIterations = (isOpenMPDevice) ? 128 : 32; ^ & Also going by the patch before this it should be MaxFixpointIterations. ponit -> point |
llvm/lib/Transforms/IPO/OpenMPOpt.cpp | ||
---|---|---|
2671 | Should be fixed upstream, thanks for pointing out the typo. |
Building with GCC I get a warning here:
Also going by the patch before this it should be MaxFixpointIterations. ponit -> point