Fix legalization of bxor_imm.

This commit is contained in:
Dan Gohman
2019-01-22 23:44:10 -08:00
parent c8febc1a37
commit 6326140227
2 changed files with 12 additions and 1 deletions

View File

@@ -500,7 +500,7 @@ for inst_imm, inst in [
(urem_imm, urem),
(band_imm, band),
(bor_imm, bor),
(bxor_imm, bor),
(bxor_imm, bxor),
(ifcmp_imm, ifcmp)]:
expand.legalize(
a << inst_imm(x, y),