mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 08:30:34 +08:00
This reverts commit d6e4582198 as it
violates an assumption of Mem2Reg's block argument creation. Mem2Reg
strongly assumes that all involved values have the same type as the
alloca, which was relaxed by this PR. Therefore, branches got created
that jumped to basic blocks with differently typed block arguments.
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.