aboutsummaryrefslogtreecommitdiff
path: root/Sema/SemaType.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-21 05:54:00 +0000
committerChris Lattner <sabre@nondot.org>2007-08-21 05:54:00 +0000
commitb6ef18a2b06d6760459e1756a61f79ff496cee19 (patch)
tree0d47964755fa6ce097fcfcdf56b19cf7135d9d4c /Sema/SemaType.cpp
parentc748f27f4055f5732a3c231f31dc7325c5279020 (diff)
Split complex arithmetic codegen out from aggregate codegen.
This means that we get rid of tons of intermediate allocas. For example: void foo(double _Complex a, double _Complex b) { a = b+a+a; } this used to have 4 temporary allocas, now it has zero of them. This also simplifies the individual visitor methods because they now can all operate on real/imag pairs instead of having to load/store all over the place. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Sema/SemaType.cpp')
0 files changed, 0 insertions, 0 deletions