In JDK-8203628, Aleksey added matchers to generate testb instruction (on x86) for LoadB->AndI->CmpI sequence. However, in AndINode::Ideal() we transform any LoadB->AndI to LoadUB->AndI which fails to match this pattern. Which means we never actually match for testb. The original matchers for LoadUB->AndI->CmpI needed to be removed because of JDK-8204479.
- relates to
-
JDK-8214027 Reinstate testB_mem_imm pattern in x86_64.ad
-
- Resolved
-