1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/lib
Duncan P. N. Exon Smith 4c303e2448 Target: Avoid getFirstTerminator() => pointer, NFC
Stop using an implicit conversion from the return of
MachineBasicBlock::getFirstTerminator to MachineInstr*.  In two cases,
directly dereference to a MachineInstr& since later code assumes it's
valid.  In a third case, change to an iterator since later code checks
against MachineBasicBlock::end.

Although the fix for the third case avoids undefined behaviour, I expect
this doesn't cause a functionality change in practice (since the basic
block already has a terminator).

llvm-svn: 274898
2016-07-08 18:26:20 +00:00
..
Analysis InstCombine rule to fold truncs whose value is available 2016-07-08 15:18:56 +00:00
AsmParser Add writeonly IR attribute 2016-07-04 08:01:29 +00:00
Bitcode Add an assertion for the value enumerator (bitcode writer) NFC 2016-07-08 01:13:41 +00:00
CodeGen CodeGen: Avoid iterator conversions in TwoAddressInstructionPass, NFC 2016-07-08 17:43:08 +00:00
DebugInfo [CodeView] Emit an appropriate symbol kind for globals 2016-07-06 21:07:47 +00:00
ExecutionEngine Prune RelocVisitor.h include to avoid including COFF.h from MCJIT.h 2016-07-06 16:56:42 +00:00
Fuzzer [LibFuzzer] Unbreak the build on macOS which was broken by r272858. 2016-07-07 18:14:11 +00:00
IR Move setName after accessing Name 2016-07-08 16:09:51 +00:00
IRReader
LibDriver Object: Replace NewArchiveIterator with a simpler NewArchiveMember class. NFCI. 2016-06-29 22:27:42 +00:00
LineEditor
Linker IR: New representation for CFI and virtual call optimization pass metadata. 2016-06-24 21:21:32 +00:00
LTO ThinLTO: Do not take into account whether a definition has multiple copies when promoting. 2016-07-07 18:31:51 +00:00
MC [MC/Darwin] Fix a -Wmisleading-indentation warning, reported by GCC 6. 2016-07-05 16:56:09 +00:00
Object Add checks to the MachOObjectFile() constructor to make sure load commands sizes 2016-07-07 22:11:42 +00:00
ObjectYAML [YAML] Fix YAML tags appearing before the start of sequence elements 2016-06-28 21:10:26 +00:00
Option
Passes [PM] Port UnreachableBlockElim to the new Pass Manager 2016-07-08 03:32:49 +00:00
ProfileData Revert "[Coverage] Move logic to encode filenames and mappings into llvm (NFC)" 2016-06-29 05:33:26 +00:00
Support IR: Set a TargetPrefix for nvvm intrinsics 2016-07-08 17:25:18 +00:00
TableGen TableGen: promote "code" type from syntactic sugar. 2016-07-05 21:22:55 +00:00
Target Target: Avoid getFirstTerminator() => pointer, NFC 2016-07-08 18:26:20 +00:00
Transforms [InstCombine] check for one-use before turning simple logic op into a select 2016-07-08 17:26:47 +00:00
CMakeLists.txt
LLVMBuild.txt