[GlobalIsel][X86] Legalize G_BSWAP
authorThorsten Schütt <schuett@gmail.com>
Tue, 16 May 2023 13:45:30 +0000 (15:45 +0200)
committerThorsten Schütt <schuett@gmail.com>
Tue, 16 May 2023 14:02:58 +0000 (16:02 +0200)
commit5cafecf9f952818400fa32645695e79838f1bc2c
tree6581d9068adad82831c4135203014c29738b9638
parent1b1f1b9079e2f01f963c6c7cd766d67029ba87cb
[GlobalIsel][X86] Legalize G_BSWAP

remark: unable to legalize instruction: %95:_(s16) = G_BSWAP %94:_ (in function: _ZNK4llvm13DataExtractor6getU16EPyPtj) [-Rpass-missed=gisel-legalize]

check plan: ninja check-llvm-codegen-x86

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D150667
llvm/lib/Target/X86/X86LegalizerInfo.cpp
llvm/test/CodeGen/X86/GlobalISel/legalize-bswap.mir [new file with mode: 0644]