llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[AVX] X86 DAG->DAG Instruction Selection crash

Open llvmbot opened this issue 14 years ago • 2 comments

Bugzilla Link 13654
Resolution FIXED
Resolved on Aug 22, 2012 15:13
Version unspecified
OS All
Attachments test case
Reporter LLVM Bugzilla Contributor
CC @darkbuck

Extended Description

The attached test case crashes in x86 instruction selection:

% llc -mattr=+avx /Users/mmp/ispc/src/bugpoint-reduced-simplified.ll
... Stack dump: 0. Program arguments: llc -mattr=+avx /Users/mmp/ispc/src/bugpoint-reduced-simplified.ll

  1. Running pass 'Function Pass Manager' on module '/Users/mmp/ispc/src/bugpoint-reduced-simplified.ll'.
  2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@f_f___un_3C_unf_3E_un_3C_unf_3E_'

Git bisect reports that this broke with the following commit:

Author: Michael Liao [email protected] Date: Tue Aug 14 21:24:47 2012 +0000

fix llvm/llvm-project#11706 

- FP_EXTEND only support extending from vectors with matching elements.
  This results in the scalarization of extending to v2f64 from v2f32,
  which will be legalized to v4f32 not matching with v2f64.
- add X86-specific VFPEXT supproting extending from v4f32 to v2f64.
- add BUILD_VECTOR lowering helper to recover back the original
  extending from v4f32 to v2f64.
- test case is enhanced to include different vector width.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161894 91177308-0d34-0410-b5e6-96231b3b80d8

llvmbot avatar Aug 21 '12 02:08 llvmbot

fixed by r162214 and confirmed from Matt

darkbuck avatar Aug 22 '12 22:08 darkbuck

this issue is already fixed in r162214

darkbuck avatar Aug 21 '12 02:08 darkbuck