forked from OSchip/llvm-project
[llvm] [X86] Make test more robust against different builds
Summary: Rationale: Using the --debug-only flag requires a debug build. Also, the debug output is not always consistent over different builds. This change avoids all problems by just testing the generated assembly for AVX. Reviewers: craig.topper, mehdi_amini, nicolasvasilache Reviewed By: craig.topper Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78609
This commit is contained in:
parent
a53874b7e4
commit
5397f29087
|
@ -1,4 +1,4 @@
|
|||
; RUN: llc < %s -debug-only=isel -O3 -mattr=avx 2>&1 | FileCheck %s
|
||||
; RUN: llc < %s -O3 -mattr=avx | FileCheck %s
|
||||
|
||||
; Bug 45563:
|
||||
; The LowerMLOAD() method AVX masked load branch should
|
||||
|
@ -12,7 +12,8 @@
|
|||
|
||||
define <16 x double> @bug45563(<16 x double>* %addr, <16 x double> %dst, <16 x i64> %e, <16 x i64> %f) {
|
||||
; CHECK-LABEL: bug45563:
|
||||
; CHECK: v4f64 = vselect
|
||||
; CHECK: vmaskmovpd
|
||||
; CHECK: vblendvpd
|
||||
%mask = icmp slt <16 x i64> %e, %f
|
||||
%res = call <16 x double> @llvm.masked.load.v16f64.p0v16f64(<16 x double>* %addr, i32 4, <16 x i1>%mask, <16 x double> %dst)
|
||||
ret <16 x double> %res
|
||||
|
|
Loading…
Reference in New Issue