-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[X86][EVEX512] Add
HasEVEX512
when NoVLX
used for 512-bit patterns (
#91106) With KNL/KNC being deprecated, we don't need to care about such no VLX cases anymore. We may remove such patterns in the future. Fixes #90844 (cherry picked from commit 7963d9a)
- Loading branch information
1 parent
58e44d3
commit 047cd91
Showing
3 changed files
with
43 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4 | ||
; RUN: llc -mtriple=x86_64-unknown-unknown -mattr=+avx512f,-evex512 < %s | FileCheck %s | ||
|
||
define void @PR90844() { | ||
; CHECK-LABEL: PR90844: | ||
; CHECK: # %bb.0: # %entry | ||
; CHECK-NEXT: vxorps %xmm0, %xmm0, %xmm0 | ||
; CHECK-NEXT: vmovaps %xmm0, (%rax) | ||
; CHECK-NEXT: retq | ||
entry: | ||
%0 = tail call <2 x i32> @llvm.fshl.v2i32(<2 x i32> poison, <2 x i32> poison, <2 x i32> <i32 8, i32 24>) | ||
%1 = and <2 x i32> %0, <i32 16711935, i32 -134152448> | ||
%2 = or disjoint <2 x i32> zeroinitializer, %1 | ||
%3 = zext <2 x i32> %2 to <2 x i64> | ||
%4 = shl nuw <2 x i64> %3, <i64 32, i64 32> | ||
%5 = or disjoint <2 x i64> %4, zeroinitializer | ||
store <2 x i64> %5, ptr poison, align 16 | ||
ret void | ||
} |