-
Notifications
You must be signed in to change notification settings - Fork 44
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
Avoid post-processing generated LLVM IR #1150
Conversation
Signed-off-by: Whitney Tsang <whitney.tsang@intel.com>
e3064fd
to
a4eed22
Compare
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.
It seems there is no testing of TritonGEN to LLVM IR in this PR.
#1087 solves this by introducing a simple triton-translate
tool and then uses that tool to test translation to LLVM IR.
third_party/intel/lib/Target/LLVMIR/Dialect/TritonGEN/TritonGENToLLVMIRTranslation.cpp
Show resolved
Hide resolved
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.
I think adding a lit test is optional because we have other tests that would fail if we are not able to pass the metadata for the required subgroup size, etc...
Adding more sanity checks in amendOperation
is good.
Signed-off-by: Whitney Tsang <whitney.tsang@intel.com>
717c3fc
to
64f05e8
Compare
Signed-off-by: Whitney Tsang <whitney.tsang@intel.com>
Added lit test. |
No description provided.