1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/IR
Sanjay Patel 9f1c8045a9 [IR] fix potential crash in Constant::isElementWiseEqual()
There's only one user of this API currently, and it seems
impossible that it would compare values with different types.

But that's not true in general, so we need to make sure the
types are the same.

As denoted by the FIXME comments, we will also crash on FP
values. That's what brought me here, but we can make that a
follow-up patch.
2020-01-14 11:52:38 -05:00
..
AbstractCallSite.cpp [Attributor] Use abstract call sites to determine associated arguments 2019-12-31 01:33:22 -06:00
AsmWriter.cpp OpaquePtr: print byval types containing anonymous types correctly. 2020-01-07 15:11:43 +00:00
AttributeImpl.h
Attributes.cpp [IR] Use a reference in a range-based for 2019-12-17 21:57:58 +01:00
AttributesCompatFunc.td
AutoUpgrade.cpp AArch64: fix bitcode upgrade of @llvm.neon.addp. 2020-01-14 13:41:32 +00:00
BasicBlock.cpp
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
Comdat.cpp
ConstantFold.cpp [ConstantFold][SVE] Fix constant folding for shufflevector. 2019-12-09 15:31:50 -08:00
ConstantFold.h
ConstantRange.cpp [ConstantRange] Respect destination bitwidth for cast results. 2019-12-27 17:38:34 +00:00
Constants.cpp [IR] fix potential crash in Constant::isElementWiseEqual() 2020-01-14 11:52:38 -05:00
ConstantsContext.h [ConstantFold][SVE] Fix constant folding for shufflevector. 2019-12-09 15:31:50 -08:00
Core.cpp IR: remove "else" after "return". NFCI. 2020-01-09 15:00:54 +00:00
DataLayout.cpp Reland [DataLayout] Fix occurrences that size and range of pointers are assumed to be the same. 2019-12-13 14:30:21 +00:00
DebugInfo.cpp reland "[DebugInfo] Support to emit debugInfo for extern variables" 2019-12-22 18:28:50 -08:00
DebugInfoMetadata.cpp Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot 2019-12-20 13:11:17 -08:00
DebugLoc.cpp
DiagnosticHandler.cpp
DiagnosticInfo.cpp
DiagnosticPrinter.cpp
DIBuilder.cpp Fix case style warnings in DIBuilder. NFC. 2019-12-23 07:27:18 +00:00
Dominators.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
FPEnv.cpp Move floating point related entities to namespace level 2019-11-20 19:05:46 +07:00
Function.cpp Resubmit "[Alignment][NFC] Deprecate CreateMemCpy/CreateMemMove" 2019-12-17 10:07:46 +01:00
Globals.cpp
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
Instructions.cpp Resubmit "[Alignment][NFC] Deprecate CreateMemCpy/CreateMemMove" 2019-12-17 10:07:46 +01:00
IntrinsicInst.cpp [FPEnv] Constrained FCmp intrinsics 2019-12-07 11:28:39 +01:00
IRBuilder.cpp [Alignment][NFC] Align compatible methods for CreateElementUnorderedAtomicMemSet 2019-12-19 20:03:35 +01:00
IRPrintingPasses.cpp [PassInstrumentation] Remove excess newline for the new pass manager 2019-11-28 17:20:17 -08:00
LegacyPassManager.cpp [LegacyPassManager] Simplify FunctionPass::assignPassManager 2019-11-28 14:06:55 -08:00
LLVMBuild.txt
LLVMContext.cpp
LLVMContextImpl.cpp
LLVMContextImpl.h Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot 2019-12-20 13:11:17 -08:00
Mangler.cpp
MDBuilder.cpp
Metadata.cpp [Metadata] Add TBAA struct metadata to AAMDNode 2020-01-06 11:05:15 +03:00
MetadataImpl.h
Module.cpp [IR] Move global_objects and global_values out of line, NFC 2019-11-22 19:26:34 -08:00
ModuleSummaryIndex.cpp [ThinLTO] Show preserved symbols in DOT files 2019-12-18 18:33:15 +03:00
Operator.cpp
OptBisect.cpp
Pass.cpp
PassInstrumentation.cpp
PassManager.cpp
PassRegistry.cpp
PassTimingInfo.cpp
ProfileSummary.cpp
RemarkStreamer.cpp Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
SafepointIRVerifier.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Statepoint.cpp
SymbolTableListTraitsImpl.h
Type.cpp
TypeFinder.cpp [NFC] Fixes -Wrange-loop-analysis warnings 2020-01-01 20:01:37 +01:00
Use.cpp
User.cpp Reinstate MSan suppression of PR24578. 2019-11-22 11:25:24 -08:00
Value.cpp Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
ValueSymbolTable.cpp
Verifier.cpp [AArch64] Add function attribute "patchable-function-entry" to add NOPs at function entry 2020-01-10 09:55:51 -08:00