llvm/lib
Davide Italiano 964a48a5b6 [IPO/LowerTypesTest] Skip blockaddress(es) when replacing uses.
Blockaddresses refer to the function itself, therefore replacing them
would cause an assertion in doRAUW.

Fixes https://bugs.llvm.org/show_bug.cgi?id=35201

This was found when trying CFI on a proprietary kernel by Dmitry Mikulin.

Differential Revision:  https://reviews.llvm.org/D39695

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317527 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-07 00:09:25 +00:00
..
Analysis [ValueTracking] readonly (const) is a requirement for converting sqrt to llvm.sqrt; nnan is not 2017-11-06 22:40:09 +00:00
AsmParser [IR] redefine 'UnsafeAlgebra' / 'reassoc' fast-math-flags and add 'trans' fast-math-flag 2017-11-06 16:27:15 +00:00
BinaryFormat
Bitcode [IR] redefine 'UnsafeAlgebra' / 'reassoc' fast-math-flags and add 'trans' fast-math-flag 2017-11-06 16:27:15 +00:00
CodeGen [MIRPrinter] Use %subreg.xxx syntax for subregister index operands 2017-11-06 21:46:06 +00:00
DebugInfo
Demangle
ExecutionEngine
Fuzzer
FuzzMutate
IR [IPO/LowerTypesTest] Skip blockaddress(es) when replacing uses. 2017-11-07 00:09:25 +00:00
IRReader
LineEditor
Linker
LTO [LTO][ThinLTO] Use the linker resolutions to mark global values as dso_local. 2017-11-04 17:04:39 +00:00
MC
Object Revert r317046, "Object: Move some code from ELF.h into ELF.cpp." 2017-11-03 21:30:06 +00:00
ObjectYAML [ObjectYAML] Map relocation types for COFF ARMNT and ARM64 2017-11-06 07:20:58 +00:00
Option
Passes [PassManager, SimplifyCFG] Revert r316908 and r316869. 2017-11-06 00:32:01 +00:00
ProfileData GCOV: Move GCOV from IR & Support into ProfileData to fix layering 2017-11-03 20:57:10 +00:00
Support [Support][Chrono] Use explicit cast of text output of time values. 2017-11-06 23:01:46 +00:00
TableGen
Target AMDGPU: Remove redundant combine 2017-11-07 00:06:32 +00:00
Testing
ToolDrivers
Transforms [IPO/LowerTypesTest] Skip blockaddress(es) when replacing uses. 2017-11-07 00:09:25 +00:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt