TargetInstrInfo: Change duplicate() to work on bundles.
Adds infrastructure to clone whole instruction bundles rather than just single instructions. This fixes a bug where tail duplication would unbundle instructions while cloning. This should unbreak the "Clang Stage 1: cmake, RA, with expensive checks enabled" build on greendragon. The bot broke with r311139 hitting this pre-existing bug. A proper testcase will come next. llvm-svn: 311511
Showing
- llvm/include/llvm/CodeGen/MachineFunction.h 14 additions, 5 deletionsllvm/include/llvm/CodeGen/MachineFunction.h
- llvm/include/llvm/Target/TargetInstrInfo.h 5 additions, 5 deletionsllvm/include/llvm/Target/TargetInstrInfo.h
- llvm/lib/CodeGen/MachineFunction.cpp 20 additions, 0 deletionsllvm/lib/CodeGen/MachineFunction.cpp
- llvm/lib/CodeGen/TailDuplicator.cpp 5 additions, 8 deletionsllvm/lib/CodeGen/TailDuplicator.cpp
- llvm/lib/CodeGen/TargetInstrInfo.cpp 4 additions, 3 deletionsllvm/lib/CodeGen/TargetInstrInfo.cpp
- llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp 22 additions, 13 deletionsllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
- llvm/lib/Target/ARM/ARMBaseInstrInfo.h 3 additions, 2 deletionsllvm/lib/Target/ARM/ARMBaseInstrInfo.h
Loading
Please register or sign in to comment