Displaying 4 results from an estimated 4 matches for "testopt".
Did you mean:
test_opt
2007 Dec 13
1
[LLVMdev] Miscompilation
http://llvm.org/bugs/show_bug.cgi?id=1837
I reduced the above case to this:
; test.ll
define i8* @test() {
%x1 = malloc i8, i32 16
%x2 = bitcast i8* %x1 to i8**
store i8* %x1, i8** %x2
ret i8* %x1
}
$ llvm-as test.ll
$ opt -instcombine test.bc -o testopt.bc
$ llc test.bc
$ llc testopt.bc
$ diff -u test.s testopt.s
-movl $16, (%esp)
+movl $8, (%esp)
call malloc
I'm afraid that I'm not up to fixing this myself. Please help!
--
Seo Sanghyeon
2018 Jul 10
2
custom LLVM Pass with options fails to load
...lude "llvm/Support/CommandLine.h"
#include <string>
namespace
{
// Apply a custom category to all command-line options so that they are the
// only ones displayed.
static llvm::cl::OptionCategory testCategory("testPass Options");
static llvm::cl::opt<std::string>
testOpt("testOpt", llvm::cl::desc("testOpt"),
llvm::cl::value_desc("test pass opt"), llvm::cl::cat(testCategory));
}
namespace test
{
char TestPass::ID = 0;
static ::llvm::RegisterPass<test::TestPass>
X("testPass", "test pass", false /* Only l...
2018 Jul 12
2
custom LLVM Pass with options fails to load
...namespace
>> {
>> // Apply a custom category to all command-line options so that they are the
>> // only ones displayed.
>> static llvm::cl::OptionCategory testCategory("testPass Options");
>>
>> static llvm::cl::opt<std::string>
>> testOpt("testOpt", llvm::cl::desc("testOpt"),
>> llvm::cl::value_desc("test pass opt"),
>> llvm::cl::cat(testCategory));
>> }
>>
>> namespace test
>> {
>> char TestPass::ID = 0;
>>
>> static ::llvm::Regis...
2010 Oct 27
4
Anything special needed to migrate test::unit tests from Rails 2x to Rails3?
...39;' I get no love. I know I can start digging
through the Rails rake tasks, first want to see if anyone has an idea what
is going on:
DKMac:creditcompare3 DK$ rake test
(in /Users/DK/Documents/ror/projects/creditcompare3)
DKMac:creditcompare3 DK$
(requesting verbose fares just as badly using TESTOPTS="-v")
Not even an error! I would be happy with an error!
Also tried the old single test file with same result:
DKMac:creditcompare3 DK$ ruby -I lib:test test/unit/account_test.rb
DKMac:creditcompare3 DK$
My test_helper.rb is pretty standard and based on a default Rails 3 app
while I...