Commit 50d2b1c
[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 116963e commit 50d2b1c
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 | |
|---|---|---|---|
| |||
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
1388 | 1387 | | |
1389 | 1388 | | |
1390 | 1389 | | |
| |||
0 commit comments