[PATCH] Mutate TargetLowering::shouldExpandAtomicRMWInIR to specifically dictate how AtomicRMWInsts are expanded.
JF Bastien
jfb at chromium.org
Wed Mar 4 07:51:51 PST 2015
I also re-ran clang-format, some of the code wasn't formatted with it.
REPOSITORY
rL LLVM
================
Comment at: lib/CodeGen/AtomicExpandPass.cpp:244
@@ -231,1 +243,3 @@
+ }
+ };
}
----------------
I removed the semicolon here, and had to add `llvm_unreachable` because not all compilers realize that all cases are handled.
http://reviews.llvm.org/D7713
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list