Currently, the code-model specified in IR can't be captured by LLC.
This patch fixes that.
Details
Details
- Reviewers
shchenz rzurob MaskRay - Group Reviewers
Restricted Project - Commits
- rGff855f5ec0c3: Pass code-model through Module IR to [llc].
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/Target/TargetMachine.h | ||
---|---|---|
226 | We may can implement this simple function in the header. | |
llvm/test/tools/llc/codemodel.ll | ||
2 ↗ | (On Diff #440116) | Can we add more cases? For example, changing the code model by using command option to verify: |
Comment Actions
LGTM when @shchenz is happy
FWIW, I'd use [llc] instead of ... to LLC for the subject.
We may can implement this simple function in the header.