[all-commits] [llvm/llvm-project] 3cab81: [PowerPC] fixupIsDeadOrKill start and end in diffe...
Chen Zheng via All-commits
all-commits at lists.llvm.org
Wed Aug 5 11:14:56 PDT 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: 3cab8184f32067464f3ab6bdfd6e123ddd38ef0f
https://github.com/llvm/llvm-project/commit/3cab8184f32067464f3ab6bdfd6e123ddd38ef0f
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2020-08-05 (Wed, 05 Aug 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
M llvm/lib/Target/PowerPC/PPCInstrInfo.h
A llvm/test/CodeGen/PowerPC/fixup-kill-dead-flag-crash.mir
Log Message:
-----------
[PowerPC] fixupIsDeadOrKill start and end in different block fixing
In fixupIsDeadOrKill, we assume StartMI and EndMI not exist in same
basic block, so we add an assertion in that function. This is wrong
before RA, as before RA the true definition may exist in another
block through copy like instructions.
Reviewed By: nemanjai
Differential Revision: https://reviews.llvm.org/D83365
(cherry picked from commit 36f9fe2d3493717dbc6866d96b2e989839ce1a4c)
More information about the All-commits
mailing list