[PATCH] D42287: [GlobalISel][X86] Fixing failures after https://reviews.llvm.org/D37775
Alexander Ivchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 06:39:09 PST 2018
aivchenk marked 6 inline comments as done.
aivchenk added inline comments.
================
Comment at: lib/Target/X86/X86LegalizerInfo.cpp:169
+ // s128 = EXTEND (G_IMPLICIT_DEF s32/s64) -> s128 = G_IMPLICIT_DEF
+ setAction({G_IMPLICIT_DEF, s128}, Legal);
----------------
qcolombet wrote:
> When is this pattern created?
It can be seen in regbankselect-X86_64.mir:
define float @test_undef3() {
ret float undef
}
before legalizer:
%1(s128) = G_IMPLICIT_DEF
%xmm0 = COPY %1(s128)
RET 0, implicit %xmm0
after legalizer:
%1:_(s128) = G_IMPLICIT_DEF
%xmm0 = COPY %1(s128)
RET 0, implicit %xmm0
https://reviews.llvm.org/D42287
More information about the llvm-commits
mailing list