llvm-project/llvm/lib/CodeGen/GlobalISel
Amara Emerson d4f84df0a0 [GlobalISel] Change widenScalar of G_FCONSTANT to mutate into G_CONSTANT.
Widening a G_FCONSTANT by extending and then generating G_FPTRUNC doesn't produce
the same result all the time. Instead, we can just transform it to a G_CONSTANT
of the same bit pattern and truncate using a plain G_TRUNC instead.

Fixes https://github.com/llvm/llvm-project/issues/56454

Differential Revision: https://reviews.llvm.org/D129743
2022-07-14 11:05:10 -07:00
..
CMakeLists.txt [nfc][codegen] Move RegisterBank[Info].cpp under CodeGen 2022-02-15 11:27:15 -08:00
CSEInfo.cpp [GlobalISel] CSE FP constants at -O0 2022-02-10 09:17:11 +00:00
CSEMIRBuilder.cpp [GlobalISel] Change ConstantFoldVectorBinop to return vector of APInt 2022-05-13 09:33:07 +01:00
CallLowering.cpp [AArch64][GlobalISel] Fix call lowering for <3 x i32> vector arguments 2022-07-08 10:25:45 +02:00
Combiner.cpp [CodeGen] Apply clang-tidy fixes for readability-redundant-smartptr-get (NFC) 2022-03-20 23:11:06 -07:00
CombinerHelper.cpp [GlobalISel] Fix and(load)->zextload combine crash. 2022-07-13 14:58:45 -07:00
GISelChangeObserver.cpp
GISelKnownBits.cpp GlobalISel: Implement computeKnownBits for overflow bool results 2022-04-11 19:43:37 -04:00
GlobalISel.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
IRTranslator.cpp Revert "[GISel] Unify use of getStackGuard" 2022-07-12 17:00:43 -04:00
InlineAsmLowering.cpp [InlineAsm] Add support for address operands ("p"). 2022-04-13 12:50:21 +02:00
InstructionSelect.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
InstructionSelector.cpp [GISel] Don't fold convergent instruction across CFG 2022-07-01 10:24:24 -07:00
LegacyLegalizerInfo.cpp [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -08:00
LegalityPredicates.cpp GlobalISel: Add memSizeNotByteSizePow2 legality helper 2022-04-11 19:43:37 -04:00
LegalizeMutations.cpp GlobalISel: Add LegalizeMutations to help use More/FewerElements 2022-04-19 21:04:32 -04:00
Legalizer.cpp Cleanup include: codegen second round 2022-03-23 13:54:00 +01:00
LegalizerHelper.cpp [GlobalISel] Change widenScalar of G_FCONSTANT to mutate into G_CONSTANT. 2022-07-14 11:05:10 -07:00
LegalizerInfo.cpp GlobalISel: Update mutationIsSane assert for scalable vectors 2022-04-12 16:54:03 -04:00
LoadStoreOpt.cpp GlobalISel: Make LoadStoreOpt preserve all 2022-06-25 09:24:54 -04:00
Localizer.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
LostDebugLocObserver.cpp
MachineIRBuilder.cpp GlobalISel: Add buildBoolExtInReg helper 2022-07-08 11:55:08 -04:00
RegBankSelect.cpp GlobalISel: Relax handling of G_ASSERT_* with source register classes 2022-04-22 10:49:50 -04:00
Utils.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-26 08:12:34 +02:00