lgtm

================
Comment at: lib/CodeGen/CGBuiltin.cpp:3180
@@ +3179,3 @@
+    uint64_t ZExtValue =
+        Builder.getInt(Value.zextOrTrunc(IsThumb ? 16 : 32))->getZExtValue();
+
----------------
No need to go through llvm::ConstantInt, you can just take the truncated APInt 
and do .getZExtValue().

http://reviews.llvm.org/D3489

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to