1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/Transforms
Ilya Leoshkevich b0ff945d9d [TSan] Use zeroext for function parameters
SystemZ ABI requires zero-extending function parameters to 64-bit. The
compiler is free to optimize the code around this assumption, e.g.
failing to zero-extend __tsan_atomic32_load()'s morder may cause
crashes in to_mo() switch table lookup.

Fix by adding zeroext attributes to TSan's FunctionCallees, similar to
how it was done in commit 3bc439bdff8b ("[MSan] Add instrumentation for
SystemZ"). This is a no-op on arches that don't need it.

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D105629
2021-07-15 12:18:47 +02:00
..
AggressiveInstCombine [NewPM] Don't mark AA analyses as preserved 2021-05-18 13:49:03 -07:00
CFGuard
Coroutines [NFC] [Coroutines] Remove unused CoroFree 2021-07-14 19:13:12 +08:00
Hello
InstCombine [InstCombine] reorder icmp with offset folds for better results 2021-07-14 12:12:05 -04:00
Instrumentation [TSan] Use zeroext for function parameters 2021-07-15 12:18:47 +02:00
IPO [Attributor] AACallEdges, Add a way to ask nonasm unknown callees 2021-07-15 06:10:42 +03:00
ObjCARC [ObjC][ARC] Prevent moving objc_retain calls past objc_release calls 2021-07-05 12:16:15 -07:00
Scalar [SimpleLoopUnswitch] Don't non-trivially unswitch loops with catchswitch exits 2021-07-14 14:07:28 -07:00
Utils [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
Vectorize [SLP][NFC]Fix variables names, NFC. 2021-07-14 12:43:45 -07:00
CMakeLists.txt