TableGen: Add MinAlignment predicate
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 31 Jul 2019 00:14:43 +0000 (00:14 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 31 Jul 2019 00:14:43 +0000 (00:14 +0000)
commit52c262484f9e3aa19ef4421b970a2fb0445ca433
treec2f2328162457703c27864b49a8135f4a6849df9
parent84e80979b53036d1df4e35ae30439728c1244ba6
TableGen: Add MinAlignment predicate

AMDGPU uses some custom code predicates for testing alignments.

I'm still having trouble comprehending the behavior of predicate bits
in the PatFrag hierarchy. Any attempt to abstract these properties
unexpectdly fails to apply them.

llvm-svn: 367373
llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
llvm/include/llvm/Target/TargetSelectionDAG.td
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/test/TableGen/address-space-patfrags.td
llvm/utils/TableGen/CodeGenDAGPatterns.cpp
llvm/utils/TableGen/CodeGenDAGPatterns.h
llvm/utils/TableGen/GlobalISelEmitter.cpp