diff options
| author | Mel Chen <mel.chen@sifive.com> | 2025-11-12 16:03:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-12 08:03:57 +0000 |
| commit | 68a4af6acc92a866c735bd5300bd1381dacfa505 (patch) | |
| tree | 6298de0cfb3aa29e43a49657d1b46efb21ab51cc /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h | |
| parent | 9be980c1cf0291ec7e12743e9b0f4bbbbf2a4088 (diff) | |
[LV][EVL] Replace VPInstruction::Select with vp.merge for predicated div/rem (#154072)
Since div/rem operations don’t support a mask operand, the lanes of the
divisor that are masked out are currently replaced with 1 using
VPInstruction::Select before the predicated div/rem operation.
This patch replaces
```
VPInstruction::Select(logical_and(header_mask, conditional_mask), LHS, RHS)
```
with
```
vp.merge(conditional_mask, LHS, RHS, EVL)
```
so that the header mask can be replaced by EVL in this usage scenario
when tail folding with EVL.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
