llvm-project/llvm/lib
Nemanja Ivanovic 61f69153e8 [PowerPC] Sign extend comparison operand for signed atomic comparisons
As of 8dacca943a, we sign extend the atomic loaded
operand for signed subword comparisons. However, the assumption that the other
operand is correctly sign extended doesn't always hold. This patch sign extends
the other operand if it needs to be sign extended.

This is a second fix for https://bugs.llvm.org/show_bug.cgi?id=30451

Differential revision: https://reviews.llvm.org/D94058
2021-01-18 21:19:25 -06:00
..
Analysis [InstCombine,InstSimplify] Optimize select followed by and/or/xor 2021-01-19 09:14:17 +09:00
AsmParser [X86] Add x86_amx type for intel AMX. 2020-12-30 13:52:13 +08:00
BinaryFormat [Debuginfo][DW_OP_implicit_pointer] (1/7) Support for DW_OP_LLVM_implicit_pointer 2021-01-15 14:45:04 +05:30
Bitcode [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Bitstream [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
CodeGen [X86] Fix tile spill merge issue. 2021-01-19 10:51:42 +08:00
DWARFLinker [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
DebugInfo [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Demangle [llvm] Remove redundant return and continue statements (NFC) 2021-01-14 20:30:34 -08:00
ExecutionEngine [JITLink][ELF] Skip DWARF sections in ELF objects. 2021-01-18 12:42:48 +11:00
Extensions llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
FileCheck [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Frontend [OpenMPOpt][WIP] Expand parallel region merging 2021-01-11 08:06:23 -08:00
FuzzMutate llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Fuzzer
IR [IR] Allow scalable vectors in structs to support intrinsics returning multiple values. 2021-01-17 23:29:51 -08:00
IRReader static const char *const foo => const char foo[] 2020-12-01 10:33:18 -08:00
InterfaceStub [llvm-elfabi] Add flag to preserve timestamp when output is the same 2020-12-29 20:27:06 -08:00
LTO [LTO] Remove options to disable inlining, vectorization & GVNLoadPRE. 2021-01-16 16:29:15 +00:00
LineEditor llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Linker [ExecutionEngine, Linker] Use erase_if (NFC) 2020-12-23 21:44:39 -08:00
MC [WebAssembly] MC layer writes table symbols to object files 2021-01-18 16:57:18 +01:00
MCA [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
Object [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
ObjectYAML [llvm] Populate std::vector at construction time (NFC) 2021-01-18 10:16:33 -08:00
Option [llvm] Simplify string comparisons (NFC) 2021-01-11 18:48:09 -08:00
Passes [NewPM][Inliner] Move the 'always inliner' case in the same CGSCC pass as 'regular' inliner 2021-01-15 17:59:38 -08:00
ProfileData [llvm] Populate std::vector at construction time (NFC) 2021-01-18 10:16:33 -08:00
Remarks llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Support [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
TableGen [TableGen] Enhance !cast<string> to handle bit and bits types. 2021-01-14 10:20:35 -05:00
Target [PowerPC] Sign extend comparison operand for signed atomic comparisons 2021-01-18 21:19:25 -06:00
Testing [llvm][NFC] Remove unnecessary vector creation in Annotations 2020-11-14 15:55:09 +00:00
TextAPI [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
ToolDrivers llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Transforms Address unused variable warning 2021-01-19 09:30:16 +09:00
WindowsManifest llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
XRay [lib/Object, tools] - Make ELFObjectFile::getELFFile return reference. 2020-12-04 16:02:29 +03:00
CMakeLists.txt llvmbuildectomy - support disabled native target 2020-11-13 15:50:13 +01:00