Fix a case where the overflow value of type i1, which is legal on AVX512, was assigned to a VK1 register class.
We always want this value to be assigned to a GPR since the overflow return value is lowered to a SETO instruction.
Fixes pr30981.
Paths
| Differential D26620
[X86][FastISel] Fix lowering of overflow result on AVX512 targets ClosedPublic Authored by zvi on Nov 14 2016, 10:41 AM.
Details
Summary Fix a case where the overflow value of type i1, which is legal on AVX512, was assigned to a VK1 register class. Fixes pr30981.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 14 2016, 5:02 PM
Revision Contents
Diff 77833 lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/2009-04-12-FastIselOverflowCrash.ll
|
This could be in a separate NFC patch.