We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llvm::TargetSubtargetInfo
When trying to build with LLVM 12, I ran into the following build error. It seems like there was just an extra argument added that isn't handled.
cmake -S .. -DLLVM_DIR=/usr/local/Cellar/llvm/12.0.0/lib/cmake/llvm LLVM_DIR=/usr/local/Cellar/llvm/12.0.0/lib/cmake/llvm make llvm-cbe
/Users/src/llvm-cbe/lib/Target/CBackend/TargetInfo/../CTargetMachine.h:36:9: error: no matching constructor for initialization of 'llvm::TargetSubtargetInfo' : TargetSubtargetInfo(TT, CPU, FS, ArrayRef<SubtargetFeatureKV>(), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/Cellar/llvm/12.0.0/include/llvm/CodeGen/TargetSubtargetInfo.h:61:3: note: candidate constructor not viable: requires 12 arguments, but 11 were provided TargetSubtargetInfo(const Triple &TT, StringRef CPU, StringRef TuneCPU, ^ /usr/local/Cellar/llvm/12.0.0/include/llvm/CodeGen/TargetSubtargetInfo.h:76:3: note: candidate constructor not viable: requires 1 argument, but 11 were provided TargetSubtargetInfo(const TargetSubtargetInfo &) = delete; ^ /usr/local/Cellar/llvm/12.0.0/include/llvm/CodeGen/TargetSubtargetInfo.h:75:3: note: candidate constructor not viable: requires 0 arguments, but 11 were provided TargetSubtargetInfo() = delete; ^
The text was updated successfully, but these errors were encountered:
We only just got LLVM 11 support (#91), there's no LLVM 12 support yet unfortunately.
If this is the only problem, it might be easy to fix.
Sorry, something went wrong.
this is also handled by my pull req #140 The reason for its failure is a missing field called TuneCPU
LLVM 16 is now supported #164
No branches or pull requests
When trying to build with LLVM 12, I ran into the following build error. It seems like there was just an extra argument added that isn't handled.
Command
The text was updated successfully, but these errors were encountered: