[PATCH] D18473: AMDGPU: Add test for generic builtin behavior

Tom Stellard via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 28 07:01:30 PDT 2016


tstellarAMD added inline comments.

================
Comment at: lib/Basic/Targets.cpp:1854-1857
@@ -1853,1 +1853,6 @@
 
+  bool isCLZForZeroUndef() const override {
+    // It is -1 instead of expected for intrinsic.
+    return true;
+  }
+
----------------
Why do we need to add this if it's the same as the default?


http://reviews.llvm.org/D18473





More information about the cfe-commits mailing list