[PATCH] D46278: [AArch64] Fold B = csel A, A into B = COPY A
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 2 05:38:36 PDT 2018
thegameg updated this revision to Diff 167927.
thegameg added a reviewer: MatzeB.
thegameg added a comment.
- Fixed bugs where physregs were involved and were treated as having an unique def.
- Added more tests.
- Try harder to check the registers by looking through all the vregs until a physreg is found. Then compare definitions or check if it's part of the liveins list.
https://reviews.llvm.org/D46278
Files:
lib/Target/AArch64/AArch64InstrFormats.td
lib/Target/AArch64/AArch64InstrInfo.cpp
lib/Target/AArch64/AArch64InstrInfo.h
test/CodeGen/AArch64/csel-same-source.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46278.167927.patch
Type: text/x-patch
Size: 11253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181002/87789cee/attachment.bin>
More information about the llvm-commits
mailing list