CellSPU:
- First patch from Nehal Desai, a new contributor at Aerospace. Nehal's patch fixes sign/zero/any-extending loads for integers and floating point. Example code, compiled w/o debugging or optimization where he first noticed the bug: int main(void) { float a = 99.0; printf("%d\n", a); return 0; } Verified that this code actually works on a Cell SPU. Changes by Scott Michel: - Fix bug in the value type list constructed by SPUISD::LDRESULT to include both the load result's result and chain, not just the chain alone. - Simplify LowerLOAD and remove extraneous and unnecessary chains. - Remove unused SPUISD pseudo instructions. llvm-svn: 60526
Showing
- llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp 1 addition, 1 deletionllvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
- llvm/lib/Target/CellSPU/SPUISelLowering.cpp 55 additions, 65 deletionsllvm/lib/Target/CellSPU/SPUISelLowering.cpp
- llvm/lib/Target/CellSPU/SPUISelLowering.h 0 additions, 6 deletionsllvm/lib/Target/CellSPU/SPUISelLowering.h
- llvm/lib/Target/CellSPU/SPUInstrInfo.td 0 additions, 49 deletionsllvm/lib/Target/CellSPU/SPUInstrInfo.td
- llvm/lib/Target/CellSPU/SPUNodes.td 0 additions, 12 deletionsllvm/lib/Target/CellSPU/SPUNodes.td
Please register or sign in to comment