On 01/12/2015 01:32 PM, Tom Stellard wrote: > >+ if (AMDGPUMCInstLower::getMCOpcode(Op32, TRI.ST.getGeneration()) == 65535) This should compare -1, not the uint16_t value. I don't think this will work correctly, the sign extended -1 opcode to int for the compare will not work as expected