search for: union1

Displaying 4 results from an estimated 4 matches for "union1".

Did you mean: union
2010 Feb 17
0
[LLVMdev] [PATCH] - Union types, replaceUsesOfWithOnConstant
...s the implementation of ConstantUnion::replaceUsesOfWithOnConstant(). No tests yet :( Seems basically ok, please commit. > > Two questions: > > -- Any suggestions as to an existing test I could use as a model for testing this? IS this what is causing this to be broken? $ cat t.ll @union1 = constant union { i32*, i8 } { i32* @G } @G = global i32 4 $ llvm-as <t.ll | llvm-dis ; ModuleID = '<stdin>' @union1 = constant union { i32*, i8 } undef ; <union { i32*, i8 }*> [#uses=0] @G = global i32 4 > -- I could also use some...
2010 Feb 16
2
[LLVMdev] [PATCH] - Union types, replaceUsesOfWithOnConstant
Here's the implementation of ConstantUnion::replaceUsesOfWithOnConstant(). No tests yet :( Two questions: -- Any suggestions as to an existing test I could use as a model for testing this? -- I could also use some advice on what part of the code to work on next (in terms of finishing up union support). -- -- Talin -------------- next part -------------- An HTML attachment was scrubbed...
2010 Feb 17
1
[LLVMdev] [PATCH] - Union types, replaceUsesOfWithOnConstant
...sting test I could use as a model for > testing this? > > IS this what is causing this to be broken? > No no, nothing's broken. I just wanted to write some tests for the replaceAllUsesOf case, and wondered if there was an existing test to use as a model. > > $ cat t.ll > @union1 = constant union { i32*, i8 } { i32* @G } > @G = global i32 4 > $ llvm-as <t.ll | llvm-dis > ; ModuleID = '<stdin>' > > @union1 = constant union { i32*, i8 } undef ; <union { i32*, i8 }*> > [#uses=0] > @G = global i32 4 > > > -- I could als...
2017 May 15
2
RFC: Representing unions in TBAA
> > > I don't agree, but this is because I fail to see how the two > representations (the GCC-like one you've outlined and the current one with > the proposed extension) aren't completely isomorphic. Your proposal is: > > Lots of data structures are completely isomorphic in the same way, and in plenty of those cases, one is completely unusable, and the other