Changes between Version 1 and Version 2 of Commentary/Compiler/Backends/LLVM/DevelopmentNotes
- Feb 25, 2010 4:23:19 AM (6 years ago)
v1 v2 122 122 If a function is initially used as a label (e.g the address of it is taken) then the code generator creates an external reference label for it. Later if that function is called directly as a funciton then as it has previously been defined as a function the code generator gets confused and creates an invalid bitcast. Could either look to redefine the function label when more information is encountered, or just fix up the bitcast. 123 123 124 == Possible Problems == 124 == Possible Problems == 125 125 126 126 * See GHC trac ticket #1852. Floats are padded to word size (4 extra bytes on a 64 bit machine) by putting an appropriate `CmmLit` before them. On `fasm` this is necessary and forces the NCG to produce correct code. On `fvia-C`, this isn't necessary so it strips this padding out. What approach does LLVM blocks end in a control flow statement which seems pretty useful to me. need? … … 135 135 136 136 137 = T odo= 137 = T = 138 138 139 139 * look into lto/gold.