llvm-project/llvm/lib/CodeGen/GlobalISel
Daniel Sanders fb9b99b26e [globalisel][combines] Don't sink G_TRUNC down to use if that use is a G_PHI
This fixes a problem where the register allocator fails to eliminate a PHI
because there's a non-PHI in the middle of the PHI instructions at the start
of a BB.

This G_TRUNC can be better placed but this at least fixes the correctness issue
quickly. I'll follow up with a patch to the verifier to catch this kind of bug
in future.

llvm-svn: 343693
2018-10-03 15:43:39 +00:00
..
CMakeLists.txt [globalisel][legalizer] Adapt LegalizerInfo to support inter-type dependencies and other things. 2018-01-29 19:54:49 +00:00
CallLowering.cpp [GISel]: Remove an incorrect assert in CallLowering 2018-09-28 15:08:49 +00:00
Combiner.cpp Re-commit: [globalisel] Add a combiner helpers for extending loads and use them in a pre-legalize combiner for AArch64 2018-10-03 02:12:17 +00:00
CombinerHelper.cpp [globalisel][combines] Don't sink G_TRUNC down to use if that use is a G_PHI 2018-10-03 15:43:39 +00:00
GlobalISel.cpp [GlobalISel] Make GlobalISel a non-optional library. 2017-08-03 21:52:25 +00:00
IRTranslator.cpp Unify landing pad information adding routines (NFC) 2018-09-25 19:56:44 +00:00
InstructionSelect.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
InstructionSelector.cpp [GISel] Make constrainSelectedInstRegOperands() available to the legalizer. NFC 2018-01-17 19:31:33 +00:00
LLVMBuild.txt
LegalityPredicates.cpp [globalisel][legalizer] Add AtomicOrdering to LegalityQuery and use it in AArch64 2018-06-27 19:03:21 +00:00
LegalizeMutations.cpp [globalisel][legalizerinfo] Add support for the Lower action in getActionDefinitionsBuilder() and use it in AArch64. 2018-04-09 21:10:09 +00:00
Legalizer.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
LegalizerHelper.cpp [GISel]: Add legalization support for Widening UADDO/USUBO 2018-08-29 03:17:08 +00:00
LegalizerInfo.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
Localizer.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00
MachineIRBuilder.cpp [DebugInfo] Generate DWARF debug information for labels. (Fix leak problems) 2018-08-17 15:22:04 +00:00
RegBankSelect.cpp [RegisterBankInfo] Ignore InstrMappings that create impossible to repair operands 2018-07-25 03:08:35 +00:00
RegisterBank.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
RegisterBankInfo.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
Utils.cpp CodeGen: Remove pipeline dependencies on StackProtector; NFC 2018-07-13 00:08:38 +00:00