OSDN Git Service

MachineFunction: Introduce NoPHIs property
authorMatthias Braun <matze@braunis.de>
Tue, 23 Aug 2016 21:19:49 +0000 (21:19 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 23 Aug 2016 21:19:49 +0000 (21:19 +0000)
commitdb9ce2fda61a49a1d62f80c54ea3ae56373c517f
tree0d4fe7d6e3458676832de0c10a43aed511dbacf8
parenta44dd5e02d147f874c19ebfb3c6b6a8fc730f6d7
MachineFunction: Introduce NoPHIs property

I want to compute the SSA property of .mir files automatically in
upcoming patches. The problem with this is that some inputs will be
reported as static single assignment with some passes claiming not to
support SSA form.  In reality though those passes do not support PHI
instructions => Track the presence of PHI instructions separate from the
SSA property.

Differential Revision: https://reviews.llvm.org/D22719

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279573 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/PHIElimination.cpp
lib/CodeGen/RegAllocBasic.cpp
lib/CodeGen/RegAllocFast.cpp
lib/CodeGen/RegAllocGreedy.cpp
lib/CodeGen/RegAllocPBQP.cpp
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp