We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
llc fails to lower a seemly legitimate bitcode. The same bitcode works fine in SPIR path.
https://multicorewareinc.egnyte.com/h-s/20140724/UIdC4tbXko
2_Cxx_Lang_Exte_2_x_general_Statements_ControlFlow_Test.21
llc -O2 -march=hsail-64 -o kernel.brig kernel.cl.opt.bc
0 llc 0x00000000012ea0ff 1 llc 0x00000000012e9df8 2 libpthread.so.0 0x00007f52885c0340 3 llc 0x000000000115a716 llvm::DomTreeNodeBasellvm::BasicBlock::getBlock read_only() + 12 4 llc 0x000000000098de01 llvm::HSAILControlDependencyAnalysis::runOnMachineFunction(llvm::MachineFunction&) + 331 5 llc 0x0000000000df936b llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 95 6 llc 0x00000000011fa8b1 llvm::FPPassManager::runOnFunction(llvm::Function&) + 289 7 llc 0x00000000011faa70 llvm::FPPassManager::runOnModule(llvm::Module&) + 102 8 llc 0x00000000011fad69 llvm::MPPassManager::runOnModule(llvm::Module&) + 395 9 llc 0x00000000011fb2cc llvm::PassManagerImpl::run(llvm::Module&) + 120 10 llc 0x00000000011fb4ad llvm::PassManager::run(llvm::Module&) + 39 11 llc 0x00000000008a9fb3 main + 4398 12 libc.so.6 0x00007f52879e1ec5 __libc_start_main + 245 13 llc 0x00000000008a8837 Stack dump: 0. Program arguments: /opt/amd/bin/llc -march=hsail-64 kernel.cl.opt.ll -o kernel.brig
The text was updated successfully, but these errors were encountered:
srp1970
No branches or pull requests
Overview
llc fails to lower a seemly legitimate bitcode. The same bitcode works fine in SPIR path.
Test case archive
https://multicorewareinc.egnyte.com/h-s/20140724/UIdC4tbXko
Test case
2_Cxx_Lang_Exte_2_x_general_Statements_ControlFlow_Test.21
Command
llc -O2 -march=hsail-64 -o kernel.brig kernel.cl.opt.bc
Error Message
0 llc 0x00000000012ea0ff
1 llc 0x00000000012e9df8
2 libpthread.so.0 0x00007f52885c0340
3 llc 0x000000000115a716 llvm::DomTreeNodeBasellvm::BasicBlock::getBlock read_only() + 12
4 llc 0x000000000098de01 llvm::HSAILControlDependencyAnalysis::runOnMachineFunction(llvm::MachineFunction&) + 331
5 llc 0x0000000000df936b llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 95
6 llc 0x00000000011fa8b1 llvm::FPPassManager::runOnFunction(llvm::Function&) + 289
7 llc 0x00000000011faa70 llvm::FPPassManager::runOnModule(llvm::Module&) + 102
8 llc 0x00000000011fad69 llvm::MPPassManager::runOnModule(llvm::Module&) + 395
9 llc 0x00000000011fb2cc llvm::PassManagerImpl::run(llvm::Module&) + 120
10 llc 0x00000000011fb4ad llvm::PassManager::run(llvm::Module&) + 39
11 llc 0x00000000008a9fb3 main + 4398
12 libc.so.6 0x00007f52879e1ec5 __libc_start_main + 245
13 llc 0x00000000008a8837
Stack dump:
0. Program arguments: /opt/amd/bin/llc -march=hsail-64 kernel.cl.opt.ll -o kernel.brig
The text was updated successfully, but these errors were encountered: