search for: floatbank

Displaying 1 result from an estimated 1 matches for "floatbank".

2013 Aug 08
14
[LLVMdev] [global-isel] Proposal for a global instruction selector
...n selector or depend on its type checking being defunct, and we get better results for free. Initially, the MI builder would produce code like this, with default register banks labels derived from value types: define float @f(i32* nocapture %p) { entry: %l:IntBank = load i32* %p, align 4 %conv:FloatBank = sitofp i32 %l to float ret float %conv } The legalizer recognizes that SPARC only supports sitofp in the FloatBank register banks, so it inserts a cross-bank copy: define float @f(i32* nocapture %p) { entry: %l:IntBank = load i32* %p, align 4 %l2:FloatBank = COPY %l %conv:FloatBank = sit...