diff options
| author | mlevesquedion <mlevesquedion@google.com> | 2024-02-21 12:28:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 12:28:05 -0800 |
| commit | d4fd20258f63d30be638b04f10eaa469707759f0 (patch) | |
| tree | a84a1f98cd31d278b6d62cede4ca535b8b419a33 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | cb1fed3a89e0cdc2660edaada1f0868cae3b7bcf (diff) | |
[mlir] Use arith max or min ops instead of cmp + select (#82178)
I believe the semantics should be the same, but this saves 1 op and simplifies the code.
For example, the following two instructions:
```
%2 = cmp sgt %0, %1
%3 = select %2, %0, %1
```
Are equivalent to:
```
%2 = maxsi %0 %1
```
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions
