]> granicus.if.org Git - llvm/commit
[X86] Simplify creation of saturating truncating stores.
authorCraig Topper <craig.topper@intel.com>
Mon, 12 Aug 2019 19:26:30 +0000 (19:26 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 12 Aug 2019 19:26:30 +0000 (19:26 +0000)
commit07a3dd83502c14a9bbc039bae938cb0c9cfa5070
treecaef76ee27c3b35fcfc33c459d5178bfcfc3d8f5
parentde0f725c8508896648468eef1bc3ede2905e8bb7
[X86] Simplify creation of saturating truncating stores.

We just need to check if the truncating store is legal
instead of going through isSATValidOnAVX512Subtarget.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368607 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp