Changes between Initial Version and Version 1 of Ticket #8250, comment 2


Ignore:
Timestamp:
Sep 7, 2013 4:53:31 PM (8 months ago)
Author:
rwbarton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8250, comment 2

    initial v1  
    99  %ln2uy = sext i32 %ln2ux to i64 
    1010}}} 
    11  The reason is that `genCallSimpleCast` does `castVars` before and after the call to `llvm.swap.i32`, and `castVars` produces `LM_Sext` for a widening conversion. That's what's causing the strange test output—the payload of a `Word32#` isn't supposed to have any of the high 32 bits set. 
     11 The reason is that `genCallSimpleCast` does `castVars` before and after the call to `llvm.bswap.i32`, and `castVars` produces `LM_Sext` for a widening conversion. That's what's causing the strange test output—the payload of a `Word32#` isn't supposed to have any of the high 32 bits set. 
    1212 
    1313* The primop `BSwap32Op` is documented as