This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When switched to llvm7.0 a test based an OCL benchmark cannot be comp…
…iled. IGC crashes with such output: Assertion failed: isAllocaPromotable(AI) && "Cannot promote non-promotable alloca!", file llvm\src\lib\transforms\utils\promotememorytoregister.cpp, line 563 It's asserted in SROA optimization pass due to inappropriate bitcast creation for a new slice allocated. Later when doing memory-to-reg checking it detects that inserted bitcast is invalid. Change-Id: I4e0d596a76e58fc9a7e811d355094ac3249db922
- Loading branch information