Work around bugs in MSVC "14" CTP 3's conversion logic
authorReid Kleckner <reid@kleckner.net>
Fri, 31 Oct 2014 23:19:46 +0000 (23:19 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 31 Oct 2014 23:19:46 +0000 (23:19 +0000)
commitda00cf5f73446235f0bfe89db90c28fc2d2019f3
tree47c94cdf8b83ea86908fbd10a72b87295d58e00c
parent75bd66e51d2d4ae485034508aae85e297def8e2e
Work around bugs in MSVC "14" CTP 3's conversion logic

It appears to ignore or find ambiguous MachineInstrBuilder's conversion
operators that allow conversion to MachineInstr* and
MachineBasicBlock::bundle_iterator.

As a workaround, add an explicit way to get the MachineInstr.

llvm-svn: 221017
llvm/include/llvm/CodeGen/MachineInstrBuilder.h
llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
llvm/lib/Target/R600/SILoadStoreOptimizer.cpp
llvm/lib/Target/X86/X86FloatingPoint.cpp
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/XCore/XCoreInstrInfo.cpp