aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorLuo, Yuanke <yuanke.luo@intel.com>2021-03-04 09:42:06 +0800
committerBing1 Yu <bing1.yu@intel.com>2021-03-05 16:02:02 +0800
commit8198d83965ba4b9db6922b44ef3041030b2bac39 (patch)
tree6fa73b1869831035e5f423e681070d2cf9fff0bd /clang/lib/Frontend/TestModuleFileExtension.cpp
parentdbba2f7c41a830697ce8c623d56f4239700abb9f (diff)
downloadllvm-8198d83965ba4b9db6922b44ef3041030b2bac39.zip
llvm-8198d83965ba4b9db6922b44ef3041030b2bac39.tar.gz
llvm-8198d83965ba4b9db6922b44ef3041030b2bac39.tar.bz2
[X86] Pass to transform amx intrinsics to scalar operation.
This pass runs in any situations but we skip it when it is not O0 and the function doesn't have optnone attribute. With -O0, the def of shape to amx intrinsics is near the amx intrinsics code. We are not able to find a point which post-dominate all the shape and dominate all amx intrinsics. To decouple the dependency of the shape, we transform amx intrinsics to scalar operation, so that compiling doesn't fail. In long term, we should improve fast register allocation to allocate amx register. Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D93594
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions