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

Crash when __builtin_wasm_table_get is indexed with an enum instead of an int #122154

Open
StreetwareGames opened this issue Jan 8, 2025 · 1 comment
Labels
backend:WebAssembly crash Prefer [crash-on-valid] or [crash-on-invalid] llvm:SelectionDAG SelectionDAGISel as well

Comments

@StreetwareGames
Copy link

Replace the enum with an int and it compiles as it should

https://godbolt.org/z/5aG4PbhY4

@EugeneZelenko EugeneZelenko added backend:WebAssembly crash Prefer [crash-on-valid] or [crash-on-invalid] llvm:SelectionDAG SelectionDAGISel as well and removed new issue labels Jan 8, 2025
@llvmbot
Copy link
Member

llvmbot commented Jan 8, 2025

@llvm/issue-subscribers-backend-webassembly

Author: Streetware (StreetwareGames)

Replace the enum with an int and it compiles as it should

https://godbolt.org/z/5aG4PbhY4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:WebAssembly crash Prefer [crash-on-valid] or [crash-on-invalid] llvm:SelectionDAG SelectionDAGISel as well
Projects
None yet
Development

No branches or pull requests

3 participants