[cfe-commits] r97672 - in /cfe/trunk: lib/CodeGen/CGExprScalar.cpp test/CodeGenObjC/id-isa-codegen.m

Fariborz Jahanian fjahanian at apple.com
Thu Mar 4 11:19:43 PST 2010


On Mar 4, 2010, at 5:24 AM, Daniel Dunbar wrote:

> Hi Fariborz,
>
> Is it possible to write this test to actually check the output LLVM IR
> to make sure that whatever error was fixed, is fixed?
>
> - Daniel

I am not sure how to write a test which checks for a pattern such as  
below and passes
as we go through iterations of LLVM IR generations:

%tmp2 = load i8** %resval                       ; <i8*> [#uses=1]
  %1 = bitcast i8* %tmp2 to i8**                  ; <i8**> [#uses=1]
  store i8* %tmp, i8** %1

There is a small project which builds and runs and we can add it to  
buildbot instead.

- Fariborz




More information about the cfe-commits mailing list