[clang] [llvm] [AIX] support builtin_cpu_is() for aix (PR #80069)

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 11:28:59 PST 2024


================
@@ -16542,22 +16542,75 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned BuiltinID,
 
   Intrinsic::ID ID = Intrinsic::not_intrinsic;
 
+#include "llvm/TargetParser/PPCTargetParser.def"
+  auto GetOpRes = [&](Value *FieldValue, unsigned Mask, unsigned Op,
+                      unsigned Op_Value) -> Value * {
+    Value *Value1 = FieldValue;
----------------
nemanjai wrote:

Can you please name the variables for what they're for rather than names such as `Value1`?

https://github.com/llvm/llvm-project/pull/80069


More information about the llvm-commits mailing list