Page MenuHomePhabricator

[X86] Transform amx pointer.
Needs ReviewPublic

Authored by LuoYuanke on Dec 23 2020, 6:03 PM.

Details

Summary

Front-end bitcast <256 x i32> to x86_amx and generate load/store <256 x i32>*.
In instruction combine pass it transform load/store <256 x i32>* to
load/store x86_amx*. In the amx type lowering pass , we lower the load/store
instructions to amx load/store intrinsics with the stride value 64.

Diff Detail

Event Timeline

LuoYuanke created this revision.Dec 23 2020, 6:03 PM
LuoYuanke requested review of this revision.Dec 23 2020, 6:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 23 2020, 6:03 PM
LuoYuanke updated this revision to Diff 332098.Mar 20 2021, 5:40 AM

Support PHI operation.

LuoYuanke edited the summary of this revision. (Show Details)Mar 20 2021, 5:44 AM
LuoYuanke edited the summary of this revision. (Show Details)
LuoYuanke added a subscriber: annita.zhang.

a few style comments

llvm/lib/Target/X86/X86LowerAMXType.cpp
102

isa<>

130

isa<>

348

'''
if (auto *ST = dyn_cast<StoreInst>(I))
'''

What's the status here?