Commit b604d23
committed
[VectorCombine] Pull out isa<VectorType> check.
Noticed while investigating a crash in llvm#119559 - we don't account for I being replaced and its Type being reallocated. So hoist the checks to the start of the loop.1 parent 5b07750 commit b604d23
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2873 | 2873 | | |
2874 | 2874 | | |
2875 | 2875 | | |
| 2876 | + | |
2876 | 2877 | | |
2877 | 2878 | | |
2878 | 2879 | | |
| |||
2895 | 2896 | | |
2896 | 2897 | | |
2897 | 2898 | | |
2898 | | - | |
| 2899 | + | |
2899 | 2900 | | |
2900 | 2901 | | |
2901 | 2902 | | |
| |||
0 commit comments