search for: constantrangetest

Displaying 7 results from an estimated 7 matches for "constantrangetest".

2011 Jun 22
2
[LLVMdev] ConstantRange::sub
...er - (Upper-1) NewUpper = (Upper-1) - Lower + 1 They look equivalent to me. Did I miss anything? Thanks. - xi On Jun 22, 2011, at 2:39 PM, Nick Lewycky wrote: > Thanks, I think you've found a serious bug! > > Would you be willing to fix it? Please add a test to unittests/Support/ConstantRangeTest.cpp and then mail llvm-commits with the patch to fix it and add the test. > > On 20 June 2011 23:09, Xi Wang <xi.wang at gmail.com> wrote: > Hi, > > I have a question about ConstantRange::sub(const ConstantRange &Other) at lib/Support/ConstantRange.cpp:524. The code comp...
2011 Jun 22
0
[LLVMdev] ConstantRange::sub
Thanks, I think you've found a serious bug! Would you be willing to fix it? Please add a test to unittests/Support/ConstantRangeTest.cpp and then mail llvm-commits with the patch to fix it and add the test. On 20 June 2011 23:09, Xi Wang <xi.wang at gmail.com> wrote: > Hi, > > I have a question about ConstantRange::sub(const ConstantRange &Other) at > lib/Support/ConstantRange.cpp:524. The code computes...
2011 Jun 21
2
[LLVMdev] ConstantRange::sub
Hi, I have a question about ConstantRange::sub(const ConstantRange &Other) at lib/Support/ConstantRange.cpp:524. The code computes the new bounds as follows. APInt NewLower = getLower() - Other.getLower(); APInt NewUpper = getUpper() - Other.getUpper() + 1; Could someone explain this to me? I was expecting something like APInt NewLower = getLower() - Other.getUpper() + 1; APInt
2011 Jun 22
0
[LLVMdev] ConstantRange::sub
...It sounds to me like you've got this one handled. :-) Nick > > - xi > > On Jun 22, 2011, at 2:39 PM, Nick Lewycky wrote: > > > Thanks, I think you've found a serious bug! > > > > Would you be willing to fix it? Please add a test to > unittests/Support/ConstantRangeTest.cpp and then mail llvm-commits with the > patch to fix it and add the test. > > > > On 20 June 2011 23:09, Xi Wang <xi.wang at gmail.com> wrote: > > Hi, > > > > I have a question about ConstantRange::sub(const ConstantRange &Other) at > lib/Support/Cons...
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...s namespace > Index: unittests/CMakeLists.txt > =================================================================== > --- unittests/CMakeLists.txt (revision 157010) > +++ unittests/CMakeLists.txt (working copy) > @@ -165,6 +165,7 @@ > Support/CommandLineTest.cpp > Support/ConstantRangeTest.cpp > Support/EndianTest.cpp > + Support/FileOutputBufferTest.cpp > Support/LeakDetectorTest.cpp > Support/MathExtrasTest.cpp > Support/Path.cpp > Index: lib/Support/Unix/PathV2.inc > =================================================================== > --- lib/...
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld. -------------- next part -------------- A non-text attachment was scrubbed... Name: FileOutputBuffer.patch Type: application/octet-stream Size: 25308 bytes Desc: not available URL:
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...m[3]: Compiling ObjectTransformLayerTest.cpp for Release+Asserts build make[2]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/unittests/IR' llvm[2]: Compiling AttributesTest.cpp for Release+Asserts build llvm[3]: Compiling OrcTestCommon.cpp for Release+Asserts build llvm[2]: Compiling ConstantRangeTest.cpp for Release+Asserts build llvm[3]: Compiling MCJITMultipleModuleTest.cpp for Release+Asserts build llvm[2]: Compiling FoldingSet.cpp for Release+Asserts build llvm[3]: Linking Release+Asserts unit test OrcJIT (without symbols) llvm[2]: Compiling FunctionRefTest.cpp for Release+Asserts build llv...