Revert r279564. It introduces undefined behavior (binding a reference to a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Aug 2016 22:08:27 +0000 (22:08 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Aug 2016 22:08:27 +0000 (22:08 +0000)
commit8c3fbdc6c4649f8c3c018cf32be4407c672e574c
tree4b1501127fddc6956350b27ea9cba6d871ef28ed
parentd0cfb7344e101f656be024d29d9cd0aaefea4288
Revert r279564. It introduces undefined behavior (binding a reference to a
dereferenced null pointer) in MachineModuleInfo::MachineModuleInfo that causes
-Werror builds (including several buildbots) to fail.

llvm-svn: 279580
25 files changed:
llvm/include/llvm/CodeGen/MachineFunctionAnalysis.h [new file with mode: 0644]
llvm/include/llvm/CodeGen/MachineModuleInfo.h
llvm/include/llvm/CodeGen/Passes.h
llvm/include/llvm/Target/TargetMachine.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/LLVMTargetMachine.cpp
llvm/lib/CodeGen/MachineFunctionAnalysis.cpp [new file with mode: 0644]
llvm/lib/CodeGen/MachineFunctionPass.cpp
llvm/lib/CodeGen/MachineModuleInfo.cpp
llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp
llvm/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
llvm/lib/Target/Hexagon/HexagonGenExtract.cpp
llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
llvm/lib/Target/Hexagon/HexagonOptimizeSZextends.cpp
llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
llvm/lib/Target/NVPTX/NVPTXAllocaHoisting.cpp
llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
llvm/test/CodeGen/Generic/stop-after.ll
llvm/test/CodeGen/X86/hidden-vis-pic.ll
llvm/tools/llc/llc.cpp
llvm/unittests/MI/LiveIntervalTest.cpp