Skip to content
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

Fix compilation errors with clang 11 #7783

Merged
merged 1 commit into from
Apr 1, 2021
Merged

Fix compilation errors with clang 11 #7783

merged 1 commit into from
Apr 1, 2021

Conversation

kparzysz-quic
Copy link
Contributor

  • Replace llvm::MaybeAlign::MaybeAlign() with llvm::MaybeAlign().
  • Use ICHECK instead of assert in hexagon_module.cc.

- Replace llvm::MaybeAlign::MaybeAlign() with llvm::MaybeAlign().
- Use ICHECK instead of assert in hexagon_module.cc.
@masahi
Copy link
Member

masahi commented Apr 1, 2021

MaybeAlign change was added in #7617
I wonder why you hit this code path with clang11?

cc @LuukOddity please confirm if this still builds for you

@kparzysz-quic
Copy link
Contributor Author

I used clang 11 to compile this, not as the source of LLVM libraries. I use LLVM trunk (i.e. the ToT main branch) for the code generation libraries,

@masahi masahi merged commit df52388 into apache:main Apr 1, 2021
@masahi
Copy link
Member

masahi commented Apr 1, 2021

Thanks @kparzysz-quic

@kparzysz-quic kparzysz-quic deleted the kparzysz-compile1 branch April 1, 2021 20:34
@LuukOddity
Copy link
Contributor

Sorry for the late reply, I see it's already merged. Should I still check @masahi?

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
- Replace llvm::MaybeAlign::MaybeAlign() with llvm::MaybeAlign().
- Use ICHECK instead of assert in hexagon_module.cc.
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
- Replace llvm::MaybeAlign::MaybeAlign() with llvm::MaybeAlign().
- Use ICHECK instead of assert in hexagon_module.cc.
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
- Replace llvm::MaybeAlign::MaybeAlign() with llvm::MaybeAlign().
- Use ICHECK instead of assert in hexagon_module.cc.
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
- Replace llvm::MaybeAlign::MaybeAlign() with llvm::MaybeAlign().
- Use ICHECK instead of assert in hexagon_module.cc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants