[PATCH] D32965: [GlobalISel][X86] G_ZEXT i1 to i32/i64 support.

Guy Blank via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 05:20:55 PDT 2017


guyblank added inline comments.


================
Comment at: lib/Target/X86/X86LegalizerInfo.cpp:90
 
-  for (auto Ty : {s8, s16}) {
+  for (auto Ty : {s1, s8, s16}) {
     setAction({G_ZEXT, 1, Ty}, Legal);
----------------
is the SEXT legalization intentional? 


https://reviews.llvm.org/D32965





More information about the llvm-commits mailing list