OSDN Git Service

[GlobalISel] Add Legalized MachineFunction property.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 2 Aug 2016 15:10:25 +0000 (15:10 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 2 Aug 2016 15:10:25 +0000 (15:10 +0000)
commit46fe427fc74bb24e1649d65580febf7a22fa672b
treebcd4ed962224a077cda0da621a7abe40a210ae20
parent07d957665f783783563a61dff1233c79d9de8af6
[GlobalISel] Add Legalized MachineFunction property.

Legalized: The MachineLegalizer ran; all pre-isel generic instructions
have been legalized, i.e., all instructions are now one of:
  - generic and always legal (e.g., COPY)
  - target-specific
  - legal pre-isel generic instructions.

This lets us enforce certain invariants across passes.
This property is GlobalISel-specific, but is always available.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277470 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MIRYamlMapping.h
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/MIRParser/MIRParser.cpp
lib/CodeGen/MIRPrinter.cpp
lib/CodeGen/MachineFunction.cpp
test/CodeGen/MIR/Generic/global-isel-properties.mir [new file with mode: 0644]