This repository was archived by the owner on Sep 2, 2018. It is now read-only.
Commit 8a22bb7
rksimon
[DAGCombiner] Just call isConstOrConstSplat directly. NFCI.
This will get the same ConstantSDNode scalar or vector splat value as the current separate dyn_cast<ConstantSDNode> / isVector() approach.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284578 91177308-0d34-0410-b5e6-96231b3b80d81 parent 6886851 commit 8a22bb7
1 file changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4704 | 4704 | | |
4705 | 4705 | | |
4706 | 4706 | | |
4707 | | - | |
4708 | | - | |
| 4707 | + | |
4709 | 4708 | | |
4710 | 4709 | | |
4711 | 4710 | | |
4712 | | - | |
4713 | | - | |
| 4711 | + | |
4714 | 4712 | | |
4715 | 4713 | | |
4716 | 4714 | | |
| |||
4856 | 4854 | | |
4857 | 4855 | | |
4858 | 4856 | | |
4859 | | - | |
4860 | | - | |
| 4857 | + | |
4861 | 4858 | | |
4862 | 4859 | | |
4863 | 4860 | | |
4864 | | - | |
4865 | | - | |
| 4861 | + | |
4866 | 4862 | | |
4867 | 4863 | | |
4868 | 4864 | | |
| |||
0 commit comments