-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[MLIR][LLVMIR][DLTI] Add LLVM::TargetAttrInterface and #llvm.target attr
#145899
New issue
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
6523e51
[MLIR][LLVMIR][DLTI] Add LLVMTargetAttrInterface, #llvm.target and #l…
rolfmorel 0a1903b
Try to fix Flang...
rolfmorel eb1cbb5
Fix formatting
rolfmorel b6a07f9
Minor fixes
rolfmorel ef55a79
Add first two tests
rolfmorel 9b67848
Update docs
rolfmorel 91560a5
Add cmake comments and a test
rolfmorel c7b3be3
Make chip required, no caching of TargetMachine, and take features as…
rolfmorel fa84e7f
Resolve issues based on review
rolfmorel 53d4d16
ModuleImport fixes
rolfmorel 33d70a8
Fixes and cleanup and target dependence for test cases
rolfmorel 5c1d985
Remove commented code
rolfmorel 046733d
Address remaining comments
rolfmorel 68c2e06
Style improvements
rolfmorel 80c1f37
Further minor fixes
rolfmorel 86aa3c4
Address Mehdi's and Fabian's comments
rolfmorel 6f32979
Merge remote-tracking branch 'origin/main' into llvm-target-dlti
rolfmorel 2a50fee
Final fixes
rolfmorel 60f1324
Fix formatting
rolfmorel a73b061
Merge remote-tracking branch 'origin/main' into llvm-target-dlti
rolfmorel 0377eff
Add back in LLVMTypes.h as include in LLVMAttrs.h
rolfmorel f094eeb
Reinstate mlir::translateDataLayout
rolfmorel 4e247da
Fix formatting
rolfmorel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| //===-- LLVMAttrDefs.td - Solely LLVM Attribute and Enum definitions ----*-===// | ||
| // | ||
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
| // See https://llvm.org/LICENSE.txt for license information. | ||
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
| // | ||
| //===----------------------------------------------------------------------===// | ||
|
|
||
| include "mlir/Dialect/LLVMIR/LLVMAttrDefs.td" | ||
| include "mlir/Dialect/LLVMIR/LLVMEnums.td" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.