[PATCH] D44704: [GlobalISel][X86][ARM] Relaxing type constraints on G_SHL and friends

Roman Tereshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 15:37:35 PDT 2018


rtereshin added a comment.

Nailed it.

> isn't a valid G_INTTOPTR. The result should be a pointer type and the input should be a scalar.

Well, it should be because we like it to be, MachineVerifier doesn't check that.


Repository:
  rL LLVM

https://reviews.llvm.org/D44704





More information about the llvm-commits mailing list