[all-commits] [llvm/llvm-project] 564373: [AArch64][GlobalISel] Widen G_SELECT before clampi...
Jessica Paquette via All-commits
all-commits at lists.llvm.org
Tue Aug 3 18:32:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 564373637832b3ac2a4434c45f58c066c08e9b8c
https://github.com/llvm/llvm-project/commit/564373637832b3ac2a4434c45f58c066c08e9b8c
Author: Jessica Paquette <jpaquette at apple.com>
Date: 2021-08-03 (Tue, 03 Aug 2021)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-select.mir
Log Message:
-----------
[AArch64][GlobalISel] Widen G_SELECT before clamping it
This allows us to handle the s88 G_SELECTS:
https://godbolt.org/z/5s18M4erY
Weird types like this can result in weird merges.
Widening to s128 first and then clamping down avoids that situation.
Differential Revision: https://reviews.llvm.org/D107415
More information about the All-commits
mailing list