[llvm] Implemented MVT::changeElementType based on EVT::changeElementType (PR #206783)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 23:50:01 PDT 2026


https://github.com/RKSimon commented:

There's some more case in X86ISelLowering.cpp with patterns like:
```
VT.isVector() ? VT.changeVectorElementType(MVT::f32) : MVT::f32;
```
which can be converted to
```
 VT.changeElementType(MVT::f32)
```

https://github.com/llvm/llvm-project/pull/206783


More information about the llvm-commits mailing list