[llvm] [llvm] Remove `inline constexpr` from AArch64TargetParser.h (PR #71602)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 00:17:19 PST 2023


topperc wrote:

> > Does using `StringLiteral` instead of `StringRef` in the struct help? It has a more specialized constructor for constexpr.
> 
> I attempted to replace with `StringLiteral` instead of StringRef however some of the constructors use empty list initializers which is not supported by the `StringLiteral` constructors.

Does using "" instead of the empty list initializer work?

>I performed the replacement for the cases where it was possible and it still did not avoid the `Extension` tables corruption issue.

What does where it was possible mean? What change did you make?


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


More information about the llvm-commits mailing list