Extend the r107852 optimization which turns some fp compare to code sequence...
Extend the r107852 optimization which turns some fp compare to code sequence using only i32 operations. It now optimize some f64 compares when fp compare is exceptionally slow (e.g. cortex-a8). It also catches comparison against 0.0. llvm-svn: 108258
Showing
- llvm/lib/Target/ARM/ARMISelLowering.cpp 208 additions, 68 deletionsllvm/lib/Target/ARM/ARMISelLowering.cpp
- llvm/lib/Target/ARM/ARMISelLowering.h 7 additions, 3 deletionsllvm/lib/Target/ARM/ARMISelLowering.h
- llvm/lib/Target/ARM/ARMInstrInfo.td 25 additions, 0 deletionsllvm/lib/Target/ARM/ARMInstrInfo.td
- llvm/test/CodeGen/ARM/fpcmp-opt.ll 62 additions, 9 deletionsllvm/test/CodeGen/ARM/fpcmp-opt.ll
Loading
Please register or sign in to comment