We have some discission in D99152 and llvm-dev and finially come up with
a solution to add amx specific cast intrinsics. We've support the
intrinsics in llvm IR. This patch is to replace bitcast with amx cast
intrinsics in code emitting in FE.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/CodeGen/CGBuiltin.cpp | ||
---|---|---|
5416–5418 | Can we fold it in CreateBitCast(ArgValue, PTy) function ? |
clang/lib/CodeGen/CGBuiltin.cpp | ||
---|---|---|
5416–5418 | I don't think so. We have amx specific cast to avoid some unexpected optimization for bitcast. |
clang/lib/CodeGen/CGBuiltin.cpp | ||
---|---|---|
5416–5418 | That is not big issue. |
Can we fold it in CreateBitCast(ArgValue, PTy) function ?