[PATCH] D41032: [CodeGen][X86] Implement _InterlockedCompareExchange128 intrinsic

Colden Cullen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 16:02:02 PST 2017


colden marked an inline comment as done.
colden added inline comments.


================
Comment at: llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp:8439
+
+    llvm::Type *Int128Ty = llvm::IntegerType::get(getLLVMContext(), 128);
+    llvm::Type *Int128PtrTy = Int128Ty->getPointerTo();
----------------
majnemer wrote:
> Builder.getInt128Ty()
Oh nice, that's way cleaner.


https://reviews.llvm.org/D41032





More information about the cfe-commits mailing list