[PATCH] D23182: [ConstantFolding] Don't create illegal (non-integral) inttoptrs
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 5 12:26:20 PDT 2016
sanjoy added inline comments.
================
Comment at: test/Transforms/InstCombine/non-integral-pointers.ll:1
@@ +1,2 @@
+; RUN: opt -instcombine -S < %s | FileCheck %s
+
----------------
majnemer wrote:
> Can this be in -instsimplify?
`-instsimplify` for GEPs calls `SimplifyGEPInst` which does not dispatch into `ConstantFoldInstruction`.
https://reviews.llvm.org/D23182
More information about the llvm-commits
mailing list