SETCC isel patterns and tests for i32/64 and fp32/64 comparison
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Unit tests: pass. 62095 tests passed, 0 failed and 794 were skipped.
clang-tidy: unknown.
clang-format: pass.
Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
llvm/lib/Target/VE/VEInstrInfo.td | ||
---|---|---|
50–58 | You can achieve this with something like: which will also work with the GlobalISel emitter | |
llvm/test/CodeGen/VE/setcc.ll | ||
11 ↗ | (On Diff #239530) | Enumerating all of the compare types is usually helpful |
llvm/test/CodeGen/VE/setcc.ll | ||
---|---|---|
11 ↗ | (On Diff #239530) | Actually these seem to be in the other test files, so I'm not sure what this one is for |
Unit tests: pass. 62100 tests passed, 0 failed and 793 were skipped.
clang-tidy: unknown.
clang-format: pass.
Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
You can achieve this with something like:
def COND_OEQ : PatFrags<(ops), [(OtherVT SETOEQ), (OtherVT SETEQ)]>;
which will also work with the GlobalISel emitter