[PATCH] D98757: [AMX] Not fold constant bitcast into amx intrisic
LuoYuanke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 16 22:13:55 PDT 2021
LuoYuanke added a comment.
> at clang/test/CodeGen/X86/amx_api.c
Probably we need a .ll test case to for constant folding.
================
Comment at: llvm/lib/Analysis/ConstantFolding.cpp:108
+ // We won't fold bitcast for tile type, becasue there is no way to
+ // assigne a tmm reg from a constant. We manually generate tilestore
+ // and tileload at pass "Lower AMX type".
----------------
assign
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