Commit 3513886
authored
[msan] Generalize handleVectorReduceIntrinsic to support Arm NEON add reduction to scalar (llvm#125288)
This generalizes handleVectorReduceIntrinsic to allow intrinsics where
the return type is not the same as the fields. This patch then applies
the generalized handleVectorReduceIntrinsic to support the following Arm
NEON add reduction to scalar intrinsics: llvm.aarch64.neon.{faddv,
saddv, uaddv}.
Updates the tests from llvm#1252711 parent 6f35a9e commit 3513886
File tree
2 files changed
+117
-283
lines changed- llvm
- lib/Transforms/Instrumentation
- test/Instrumentation/MemorySanitizer/AArch64
2 files changed
+117
-283
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 | | |
| |||
4346 | 4350 | | |
4347 | 4351 | | |
4348 | 4352 | | |
| 4353 | + | |
| 4354 | + | |
| 4355 | + | |
| 4356 | + | |
4349 | 4357 | | |
4350 | 4358 | | |
4351 | 4359 | | |
| |||
0 commit comments