Skip to content

[SYCL-MLIR][NFC] Use clang::Builtin enum when possible #7257

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 2 commits into from
Nov 2, 2022

Conversation

whitneywhtsang
Copy link
Contributor

  1. Used clang::Builtin enum instead of string comparison when possible
  2. Moved some builtin handling to EmitBuiltinOps()
  3. Refactored EmitBuiltinOps()

Signed-off-by: Tsang, Whitney [email protected]

@whitneywhtsang whitneywhtsang added the sycl-mlir Pull requests or issues for sycl-mlir branch label Nov 2, 2022
@whitneywhtsang whitneywhtsang self-assigned this Nov 2, 2022
@whitneywhtsang whitneywhtsang changed the title [SYCL-MLIR] Use clang::Builtin enum when possible [SYCL-MLIR][NFC] Use clang::Builtin enum when possible Nov 2, 2022
@whitneywhtsang whitneywhtsang marked this pull request as ready for review November 2, 2022 18:40
Signed-off-by: Tsang, Whitney <[email protected]>
@whitneywhtsang whitneywhtsang merged commit 218bd17 into intel:sycl-mlir Nov 2, 2022
@whitneywhtsang whitneywhtsang deleted the builtin branch November 2, 2022 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sycl-mlir Pull requests or issues for sycl-mlir branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants