[PATCH] D98757: [AMX] Not fold constant bitcast into amx intrisic
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 17 00:15:56 PDT 2021
lebedev.ri requested changes to this revision.
lebedev.ri added a comment.
This revision now requires changes to proceed.
I strongly suggest you bring up this ongoing creep of `if (DestTy->isX86_AMXTy()) return false;` on llvm-dev.
I strongly suggest you are covering up bugs in you backend/pass with them.
================
Comment at: clang/test/CodeGen/X86/amx_api.c:5
+// RUN: %clang_cc1 %s -flax-vector-conversions=none -ffreestanding -triple=x86_64-unknown-unknown -target-feature +avx512f -target-feature +amx-int8 \
+// RUN: -target-feature +amx-bf16 -O2 -emit-llvm -o - -Werror -pedantic | FileCheck %s --check-prefixes=CHECK2
+
----------------
1. This should be a SCCP test
2. clang tests should not test llvm optimizations
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98757/new/
https://reviews.llvm.org/D98757
More information about the cfe-commits
mailing list