[PATCH] D109131: [GlobalISel] Add a store-merging optimization pass and enable for AArch64.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 16 00:45:56 PST 2021


fhahn added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp:39
+#include <algorithm>
+#include <any>
+
----------------
aemerson wrote:
> uabelho wrote:
> > I noticed that this buildbot failed on this include:
> > https://lab.llvm.org/buildbot/#/builders/110/builds/7989
> > 
> > We see similar problems downstream in our own private bots:
> > ```
> > 06:37:16 ../lib/CodeGen/GlobalISel/LoadStoreOpt.cpp:39:10: fatal error: 'any' file not found
> > 06:37:16 #include <any>
> > 06:37:16          ^~~~~
> > 06:37:16 1 error generated.
> > ```
> > We get that when compiling with clang 8.0
> Is this a problem with your C++ library? It should be there as part of C++17 support.
I think LLVM only requires C++14, not C++17, so this probably needs to use something else.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109131/new/

https://reviews.llvm.org/D109131



More information about the llvm-commits mailing list