Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix calling convention and other small bugs #16

Merged
merged 12 commits into from
Oct 15, 2019
Next Next commit
Fixing code for call gradient
  • Loading branch information
wsmoses committed Oct 12, 2019
commit d551bb1a0bdea0cd81da1e1d2259c1ebcb54ead8
2 changes: 0 additions & 2 deletions enzyme/Enzyme/ActiveVariable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ bool isIntASecretFloat(Value* val) {
std::function<void(Value*)> trackPointer = [&](Value* v) {
if (seen.find(v) != seen.end()) return;
seen.insert(v);
llvm::errs() << " consider val " << *val << " for v " << * v << "\n";
do {
Type* let = cast<PointerType>(v->getType())->getElementType();
if (let->isFloatingPointTy()) {
Expand Down Expand Up @@ -179,7 +178,6 @@ Type* isIntPointerASecretFloat(Value* val) {
std::function<void(Value*)> trackPointer = [&](Value* v) {
if (seen.find(v) != seen.end()) return;
seen.insert(v);
llvm::errs() << " consider val " << *val << " for v " << * v << "\n";
do {
Type* let = cast<PointerType>(v->getType())->getElementType();
if (let->isFloatingPointTy()) {
Expand Down
Loading