[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41560] Typo in jit-typeinfo.cc

From: David Malcolm
Subject: [Octave-bug-tracker] [bug #41560] Typo in jit-typeinfo.cc
Date: Wed, 12 Feb 2014 17:15:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22

Follow-up Comment #2, bug #41560 (project octave):

FWIW, I think the issue was more serious: the parameter was passed as the 2nd
param to register_intrinsic, aka "iid":
where it gets converted to :
  llvm::Intrinsic::ID id = static_cast<llvm::Intrinsic::ID> (iid);

and then used in this call:
  llvm::Function *ifun = llvm::Intrinsic::getDeclaration (module, id,

Hence I believe that calls to "exp" were being erroneously jit-compiled to
"cos" calls, thus silently giving the wrong answers.

That said, your fix in 634d9989bf7b looks good; thanks!


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]