I'm not familiar with how LLVM will optimize or behave given:
struct F { int }
Struct G { int, int }
Struct H { F, int }
Is there a difference between G & H w.r.t to optimizations?
I'm not familiar with how LLVM will optimize or behave given:
struct F { int }
Struct G { int, int }
Struct H { F, int }
Is there a difference between G & H w.r.t to optimizations?
I’m no expert but AFAIK optimizations would depend on how you use G & H.
Jake
Are you starting from C? If yes, TBAA can make a difference.
Joerg