-
Notifications
You must be signed in to change notification settings - Fork 35
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
[Draft] Ion dialect #1260
base: main
Are you sure you want to change the base?
[Draft] Ion dialect #1260
Conversation
[sc-73704] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some simple housekeeping.
@@ -0,0 +1,23 @@ | |||
// Copyright 2023 Xanadu Quantum Technologies Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Copyright 2023 Xanadu Quantum Technologies Inc. | |
// Copyright 2024 Xanadu Quantum Technologies Inc. |
@@ -0,0 +1,21 @@ | |||
// Copyright 2023 Xanadu Quantum Technologies Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Copyright 2023 Xanadu Quantum Technologies Inc. | |
// Copyright 2024 Xanadu Quantum Technologies Inc. |
@@ -0,0 +1,45 @@ | |||
// Copyright 2022-2023 Xanadu Quantum Technologies Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Copyright 2022-2023 Xanadu Quantum Technologies Inc. | |
// Copyright 2024 Xanadu Quantum Technologies Inc. |
@@ -0,0 +1,224 @@ | |||
// Copyright 2022-2023 Xanadu Quantum Technologies Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Copyright 2022-2023 Xanadu Quantum Technologies Inc. | |
// Copyright 2024 Xanadu Quantum Technologies Inc. |
#include "mlir/Dialect/Arith/IR/Arith.h" | ||
#include "mlir/IR/Builders.h" | ||
#include "mlir/IR/OpImplementation.h" | ||
#include "llvm/ADT/StringSet.h" | ||
#include "llvm/ADT/TypeSwitch.h" | ||
#include <optional> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#include "mlir/Dialect/Arith/IR/Arith.h" | |
#include "mlir/IR/Builders.h" | |
#include "mlir/IR/OpImplementation.h" | |
#include "llvm/ADT/StringSet.h" | |
#include "llvm/ADT/TypeSwitch.h" | |
#include <optional> | |
#include <optional> | |
#include "mlir/Dialect/Arith/IR/Arith.h" | |
#include "mlir/IR/Builders.h" | |
#include "mlir/IR/OpImplementation.h" | |
#include "llvm/ADT/StringSet.h" | |
#include "llvm/ADT/TypeSwitch.h" |
System/standard include -- ecosystem includes -- local includes
#include "mlir/Dialect/Bufferization/IR/AllocationOpInterface.h" | ||
#include "mlir/IR/BuiltinTypes.h" | ||
#include "mlir/IR/Dialect.h" | ||
#include "mlir/IR/OpDefinition.h" | ||
#include "mlir/IR/PatternMatch.h" | ||
#include "mlir/Interfaces/ControlFlowInterfaces.h" | ||
#include "mlir/Interfaces/SideEffectInterfaces.h" | ||
#include "mlir/Support/LogicalResult.h" | ||
#include "llvm/ADT/StringRef.h" | ||
#include "llvm/Support/ErrorHandling.h" | ||
#include <optional> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#include "mlir/Dialect/Bufferization/IR/AllocationOpInterface.h" | |
#include "mlir/IR/BuiltinTypes.h" | |
#include "mlir/IR/Dialect.h" | |
#include "mlir/IR/OpDefinition.h" | |
#include "mlir/IR/PatternMatch.h" | |
#include "mlir/Interfaces/ControlFlowInterfaces.h" | |
#include "mlir/Interfaces/SideEffectInterfaces.h" | |
#include "mlir/Support/LogicalResult.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/Support/ErrorHandling.h" | |
#include <optional> | |
#include <optional> | |
#include "mlir/Dialect/Bufferization/IR/AllocationOpInterface.h" | |
#include "mlir/IR/BuiltinTypes.h" | |
#include "mlir/IR/Dialect.h" | |
#include "mlir/IR/OpDefinition.h" | |
#include "mlir/IR/PatternMatch.h" | |
#include "mlir/Interfaces/ControlFlowInterfaces.h" | |
#include "mlir/Interfaces/SideEffectInterfaces.h" | |
#include "mlir/Support/LogicalResult.h" | |
#include "llvm/ADT/StringRef.h" | |
#include "llvm/Support/ErrorHandling.h" |
Just a reordering of imports to follow standard--module--local rules.
Hello. You may have forgotten to update the changelog!
|
Before submitting
Please complete the following checklist when submitting a PR:
All new functions and code must be clearly commented and documented.
Ensure that code is properly formatted by running
make format
.The latest version of black and
clang-format-14
are used in CI/CD to check formatting.All new features must include a unit test.
Integration and frontend tests should be added to
frontend/test
,Quantum dialect and MLIR tests should be added to
mlir/test
, andRuntime tests should be added to
runtime/tests
.When all the above are checked, delete everything above the dashed
line and fill in the pull request template.
Context:
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues: