[PATCH] D76283: [IRBuilder] Use preferred target type for len argument of memory intrinsic functions

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 17 07:57:39 PDT 2020


lebedev.ri added a comment.

So what happens if i manually create such IR, or create such IR without using IRBuilder?
It will again compile fine via SelectionDAG and will be miscompiled via GlobalISel, correct?
Don't you then want to harden `-verify` to barf on such mismatch, too?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76283/new/

https://reviews.llvm.org/D76283





More information about the llvm-commits mailing list