diff options
| author | Michael Berg <michael_c_berg@apple.com> | 2019-02-06 19:57:06 +0000 |
|---|---|---|
| committer | Michael Berg <michael_c_berg@apple.com> | 2019-02-06 19:57:06 +0000 |
| commit | f0d81a31b628007e88973e6cf85a910040a30e20 (patch) | |
| tree | 3f77c138d005d69b44af0ac542942490db47ae2a /llvm/include | |
| parent | 910c6bef3e69fe1754947fb7860f5f34fd4acf09 (diff) | |
| download | bcm5719-llvm-f0d81a31b628007e88973e6cf85a910040a30e20.tar.gz bcm5719-llvm-f0d81a31b628007e88973e6cf85a910040a30e20.zip | |
Move IR flag handling directly into builder calls for cases translated from Instructions in GlobalIsel
Reviewers: aditya_nandakumar, volkan
Reviewed By: aditya_nandakumar
Subscribers: rovka, kristof.beyls, volkan, Petar.Avramovic
Differential Revision: https://reviews.llvm.org/D57630
llvm-svn: 353336
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineInstr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h index faeb66ea227..5267b9db21a 100644 --- a/llvm/include/llvm/CodeGen/MachineInstr.h +++ b/llvm/include/llvm/CodeGen/MachineInstr.h @@ -1538,6 +1538,8 @@ public: /// not modify the MIFlags of this MachineInstr. uint16_t mergeFlagsWith(const MachineInstr& Other) const; + static uint16_t copyFlagsFromInstruction(const Instruction &I); + /// Copy all flags to MachineInst MIFlags void copyIRFlags(const Instruction &I); |

