Commit 5b0bef4
authored
[CIR][NFC] Restructure CIRGenExprComplex to be similar to upstream (#1965)
The goal of this PR is to prepare the code for backporting the new
implementations of Arith operations for ComplexType and other
expressions support
- Reorder the functions in CIRGenExprComplex similar to upstream and
classical codegen.
- Remove unnecessary functions `emitAddrOfRealComponent` and
`emitAddrOfImagComponent`.
- The updated code style is to be similar to upstream.1 parent 657d213 commit 5b0bef4
File tree
3 files changed
+643
-638
lines changed- clang/lib/CIR/CodeGen
3 files changed
+643
-638
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1362 | 1362 | | |
1363 | 1363 | | |
1364 | 1364 | | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
1369 | 1368 | | |
1370 | 1369 | | |
1371 | 1370 | | |
| |||
0 commit comments