1. [IPCP] Bail on extractvalue's with more than 1 index. (details)
  2. Sort HWASAN_RTL_SOURCES alphabetically (NFC). (details)
Commit 6773435624288f9c69d7ae4b804f2410808cf1a2 by craig.topper
[IPCP] Bail on extractvalue's with more than 1 index.
The replacement code only looks at the first index of the extractvalue.
If there are additional indices we'll end up doing a bad replacement.
This only happens if the function returns a nested struct. Not sure if
clang ever generates such code. The original report came from ispc.
Fixes PR43857
Differential Revision:
The file was modifiedllvm/lib/Transforms/IPO/IPConstantPropagation.cpp
The file was addedllvm/test/Transforms/IPConstantProp/PR43857.ll
Commit 05a2d70d963b83f1ed68eddd91b017b5f0a0fa72 by eugenis
Sort HWASAN_RTL_SOURCES alphabetically (NFC).
The file was modifiedcompiler-rt/lib/hwasan/CMakeLists.txt