[llvm-commits] [patch] Instcombine bug - transforms GEP/Bitcast on different address spaces
Duncan Sands
baldrick at free.fr
Tue Apr 5 07:17:40 PDT 2011
Hi Nadav,
> Index: test/Transforms/InstCombine/gep-addrspace.ll
> ===================================================================
> --- test/Transforms/InstCombine/gep-addrspace.ll (revision 0)
> +++ test/Transforms/InstCombine/gep-addrspace.ll (revision 0)
> @@ -0,0 +1,18 @@
> +; RUN: opt < %s -instcombine -S | FileCheck %s
piping to FileCheck is not needed.
> +
> +%myStruct = type { float, [3 x float], [4 x float], i32 }
> +
> +; make sure that we are not crashing when creating an illegal type
> +; CHECK: @func
This CHECK line is pointless.
Otherwise it looks OK to me.
Ciao, Duncan.
More information about the llvm-commits
mailing list