diff options
author | Florian Hahn <flo@fhahn.com> | 2022-12-08 10:28:33 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-12-08 10:28:33 +0000 |
commit | c07a01c2bb0d1f95689f809fd5be23829e364393 (patch) | |
tree | 12ba3213acea5c73e5bd9a5ec498062a6b54f5c3 /llvm/lib/Transforms/Utils/Debugify.cpp | |
parent | 45659b3bd98ea3b8ce13516bcf719669b934b9ba (diff) | |
download | llvm-c07a01c2bb0d1f95689f809fd5be23829e364393.zip llvm-c07a01c2bb0d1f95689f809fd5be23829e364393.tar.gz llvm-c07a01c2bb0d1f95689f809fd5be23829e364393.tar.bz2 |
Revert "[AArch64] Select SMULL for zero extended vectors when top bit is zero"
This reverts commit f9e0390751cb5eefbbbc191f851c52422acacab1.
The patch causes a crash for the IR below:
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "arm64-apple-macosx"
define void @test(ptr %data, <8 x i16> %v) {
entry:
%0 = sext <8 x i16> %v to <8 x i32>
%1 = mul <8 x i32> %0, <i32 35584, i32 35584, i32 35584, i32 35584, i32 35584, i32 35584, i32 35584, i32 35584>
%2 = lshr <8 x i32> %1, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
%3 = trunc <8 x i32> %2 to <8 x i16>
store <8 x i16> %3, ptr %data, align 2
ret void
}
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions