]> granicus.if.org Git - llvm/commit
GlobalISel: Add G_FENCE
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 Jul 2019 14:16:39 +0000 (14:16 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 Jul 2019 14:16:39 +0000 (14:16 +0000)
commit4ac62c2b3bd98869767bb54375d589e2067a3465
treea0cb23751dc59f601f60043da8072d1ee488a9f5
parent1980b3a5288def0a92a58baaa36129bc7741d398
GlobalISel: Add G_FENCE

The pattern importer is for some reason emitting checks for G_CONSTANT
for the immediate operands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364926 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/IRTranslator.h
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
include/llvm/Support/TargetOpcodes.def
include/llvm/Target/GenericOpcodes.td
include/llvm/Target/GlobalISel/SelectionDAGCompat.td
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
test/CodeGen/AMDGPU/GlobalISel/irtranslator-fence.ll [new file with mode: 0644]