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

Unsupported ARM Neon intrinsics in Target-specific DAG combine function for VLDDUP

Open llvmbot opened this issue 8 years ago • 5 comments

Bugzilla Link 38031
Resolution FIXED
Resolved on May 08, 2020 08:59
Version trunk
OS Linux
Attachments LLVM IR that generates crash-on-invalid
Reporter LLVM Bugzilla Contributor
CC @DMG862,@kosarev,@sjoerdmeijer
Fixed by commit(s) 336325

Extended Description

The new VLDDUP operations inserted in https://reviews.llvm.org/D48439 are not handled in the target-specific DAG combine function.

ARMISelLowering.cpp::11443 - CombineBaseUpdate

How to reproduce: llc -debug < problem-9bb6ba.ll

Combining: t637: ch = TokenFactor t635:3, t636:3

Combining: t636: v4i16,v4i16,v4i16,ch = llvm.arm.neon.vld3lane<(load 24 from %ir.32, align 2)> t634, TargetConstant:i32<1048>, FrameIndex:i32<32>, t635, t635:1, t635:2, Constant:i32<0>, Constant:i32<2>

Combining: t635: v4i16,v4i16,v4i16,ch = llvm.arm.neon.vld3dup<(load 24 from %ir.33, align 2)> t634, TargetConstant:i32<1047>, FrameIndex:i32<33>, Constant:i32<2>

unexpected intrinsic for Neon base update UNREACHABLE executed at /work/bf/LLVM/local/src/lib/Target/ARM/ARMISelLowering.cpp:11483!

llvmbot avatar Jul 03 '18 11:07 llvmbot

mentioned in issue llvm/llvm-bugzilla-archive#45824

kbeyls avatar Nov 27 '21 03:11 kbeyls

The tests we have indeed did go green. Thanks for the fix!

DMG862 avatar Jul 09 '18 14:07 DMG862

Fixed in r336325. Please confirm. Thanks.

kosarev avatar Jul 05 '18 09:07 kosarev

Here's the fix: https://reviews.llvm.org/D48920

Thanks for reporting.

kosarev avatar Jul 04 '18 08:07 kosarev

assigned to @kosarev

llvmbot avatar Jul 03 '18 11:07 llvmbot