diff options
| author | Shengchen Kan <shengchen.kan@intel.com> | 2024-05-18 19:50:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-18 19:50:16 +0800 |
| commit | 4b62afca64a3f18cd57a3b3247330effd4b38098 (patch) | |
| tree | 441a9a489ccc04a9acd8df79ab05c5abcd69730d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 778826f0b8fb9f1a595ce8ab23faad6daa9466f5 (diff) | |
[X86][CodeGen] Support flags copy lowering for CCMP/CTEST (#91849)
```
%1:gr64 = COPY $eflags
OP1 may update eflags
$eflags = COPY %1
OP2 may use eflags
```
To use eflags as input at 4th instruction, we need to use SETcc to
preserve the eflags before 2, and update the source condition of OP2
according to value in GPR %1.
In this patch, we support CCMP/CTEST as OP2.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
