Commit b598d4f
committed
[msan] Generalize handleVectorReduceIntrinsic to support Arm NEON add reduction to scalar
This generalizes handleVectorReduceIntrinsic to allow intrinsics where
the return type is not the same as the fields. This is then used to
support the Arm NEON add reduction to scalar intrinsics
(llvm.aarch64.neon.faddv, llvm.aarch64.neon.saddv, llvm.aarch64.neon.uaddv).
Updates the tests from llvm#1252711 parent b25fe9c commit b598d4f
File tree
2 files changed
+117
-278
lines changed- llvm
- lib/Transforms/Instrumentation
- test/Instrumentation/MemorySanitizer/AArch64
2 files changed
+117
-278
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3493 | 3493 | | |
3494 | 3494 | | |
3495 | 3495 | | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
3496 | 3499 | | |
3497 | 3500 | | |
3498 | 3501 | | |
| 3502 | + | |
3499 | 3503 | | |
3500 | | - | |
| 3504 | + | |
3501 | 3505 | | |
3502 | 3506 | | |
3503 | 3507 | | |
| |||
4342 | 4346 | | |
4343 | 4347 | | |
4344 | 4348 | | |
| 4349 | + | |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
4345 | 4353 | | |
4346 | 4354 | | |
4347 | 4355 | | |
| |||
0 commit comments