[clang] [clang][RISCVVEmitter] Remove no-op ptr-to-ptr bitcast (NFC) (PR #74179)

Wang Pengcheng via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 3 20:15:20 PST 2023


================
@@ -180,13 +180,10 @@ void emitCodeGenSwitchBody(const RVVIntrinsic *RVVI, raw_ostream &OS) {
     return;
   }
 
-  // Cast pointer operand of vector load intrinsic.
   for (const auto &I : enumerate(RVVI->getInputTypes())) {
----------------
wangpc-pp wrote:

Why not remove this `for` totally?

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


More information about the cfe-commits mailing list