[X86] Remove x86_sse42_crc32_64_64 from X86TTIImpl::simplifyDemandedUseBitsIntrinsic
authorCraig Topper <craig.topper@intel.com>
Fri, 31 Jul 2020 04:50:17 +0000 (21:50 -0700)
committerCraig Topper <craig.topper@intel.com>
Fri, 31 Jul 2020 04:51:23 +0000 (21:51 -0700)
It doesn't do any simplifying. It just computes known bits. We
can just let InstCombine call computeKnownBits which will handle
this just as well.

llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp

index 91341f9..aea355a 100644 (file)
@@ -1785,10 +1785,6 @@ Optional<Value *> X86TTIImpl::simplifyDemandedUseBitsIntrinsic(
     KnownBitsComputed = true;
     break;
   }
-  case Intrinsic::x86_sse42_crc32_64_64:
-    Known.Zero.setBitsFrom(32);
-    KnownBitsComputed = true;
-    break;
   }
   return None;
 }