Skip to content

Conversation

@phoebewang
Copy link
Contributor

@llvmbot
Copy link
Member

llvmbot commented Dec 11, 2024

@llvm/pr-subscribers-backend-x86

Author: Phoebe Wang (phoebewang)

Changes

Address comment from https://github.com/llvm/llvm-project/pull/119391/files#r1878388699


Full diff: https://github.com/llvm/llvm-project/pull/119494.diff

1 Files Affected:

  • (modified) llvm/lib/Target/X86/X86ISelLowering.cpp (+18-22)
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 3824d8c6c9c601..c40be9c79e1e6b 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -33259,7 +33259,8 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
                                            SmallVectorImpl<SDValue>&Results,
                                            SelectionDAG &DAG) const {
   SDLoc dl(N);
-  switch (N->getOpcode()) {
+  unsigned Opc = N->getOpcode();
+  switch (Opc) {
   default:
 #ifndef NDEBUG
     dbgs() << "ReplaceNodeResults: ";
@@ -33355,7 +33356,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
     EVT VT = N->getValueType(0);
     assert(getTypeAction(*DAG.getContext(), VT) == TypeWidenVector &&
            VT == MVT::v2i32 && "Unexpected VT!");
-    bool IsSigned = N->getOpcode() == ISD::SMULO;
+    bool IsSigned = Opc == ISD::SMULO;
     unsigned ExtOpc = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND;
     SDValue Op0 = DAG.getNode(ExtOpc, dl, MVT::v2i64, N->getOperand(0));
     SDValue Op1 = DAG.getNode(ExtOpc, dl, MVT::v2i64, N->getOperand(1));
@@ -33412,7 +33413,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
     Ops[0] = N->getOperand(1);
     SDValue InVec1 = DAG.getNode(ISD::CONCAT_VECTORS, dl, InWideVT, Ops);
 
-    SDValue Res = DAG.getNode(N->getOpcode(), dl, WideVT, InVec0, InVec1);
+    SDValue Res = DAG.getNode(Opc, dl, WideVT, InVec0, InVec1);
     Results.push_back(Res);
     return;
   }
@@ -33450,7 +33451,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
         EVT ResVT = getTypeToTransformTo(*DAG.getContext(), VT);
         SDValue N0 = DAG.getNode(ISD::CONCAT_VECTORS, dl, ResVT, Ops0);
         SDValue N1 = DAG.getConstant(SplatVal, dl, ResVT);
-        SDValue Res = DAG.getNode(N->getOpcode(), dl, ResVT, N0, N1);
+        SDValue Res = DAG.getNode(Opc, dl, ResVT, N0, N1);
         Results.push_back(Res);
       }
       return;
@@ -33571,7 +33572,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
         (InVT == MVT::v4i16 || InVT == MVT::v4i8)){
       assert(getTypeAction(*DAG.getContext(), InVT) == TypeWidenVector &&
              "Unexpected type action!");
-      assert(N->getOpcode() == ISD::SIGN_EXTEND && "Unexpected opcode");
+      assert(Opc == ISD::SIGN_EXTEND && "Unexpected opcode");
       // Custom split this so we can extend i8/i16->i32 invec. This is better
       // since sign_extend_inreg i8/i16->i64 requires an extend to i32 using
       // sra. Then extending from i32 to i64 using pcmpgt. By custom splitting
@@ -33608,7 +33609,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
 
         // Promote the input to 128 bits. Type legalization will turn this into
         // zext_inreg/sext_inreg.
-        In = DAG.getNode(N->getOpcode(), dl, InVT, In);
+        In = DAG.getNode(Opc, dl, InVT, In);
       }
 
       // Perform custom splitting instead of the two stage extend we would get
@@ -33617,7 +33618,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
       std::tie(LoVT, HiVT) = DAG.GetSplitDestVTs(N->getValueType(0));
       assert(isTypeLegal(LoVT) && "Split VT not legal?");
 
-      SDValue Lo = getEXTEND_VECTOR_INREG(N->getOpcode(), dl, LoVT, In, DAG);
+      SDValue Lo = getEXTEND_VECTOR_INREG(Opc, dl, LoVT, In, DAG);
 
       // We need to shift the input over by half the number of elements.
       unsigned NumElts = InVT.getVectorNumElements();
@@ -33627,7 +33628,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
         ShufMask[i] = i + HalfNumElts;
 
       SDValue Hi = DAG.getVectorShuffle(InVT, dl, In, In, ShufMask);
-      Hi = getEXTEND_VECTOR_INREG(N->getOpcode(), dl, HiVT, Hi, DAG);
+      Hi = getEXTEND_VECTOR_INREG(Opc, dl, HiVT, Hi, DAG);
 
       SDValue Res = DAG.getNode(ISD::CONCAT_VECTORS, dl, VT, Lo, Hi);
       Results.push_back(Res);
@@ -33639,8 +33640,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
   case ISD::FP_TO_UINT:
   case ISD::STRICT_FP_TO_UINT: {
     bool IsStrict = N->isStrictFPOpcode();
-    bool IsSigned = N->getOpcode() == ISD::FP_TO_SINT ||
-                    N->getOpcode() == ISD::STRICT_FP_TO_SINT;
+    bool IsSigned = Opc == ISD::FP_TO_SINT || Opc == ISD::STRICT_FP_TO_SINT;
     EVT VT = N->getValueType(0);
     SDValue Src = N->getOperand(IsStrict ? 1 : 0);
     SDValue Chain = IsStrict ? N->getOperand(0) : SDValue();
@@ -33651,13 +33651,13 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
       EVT NVT = VT.isVector() ? VT.changeVectorElementType(MVT::f32) : MVT::f32;
       if (IsStrict) {
         Res =
-            DAG.getNode(N->getOpcode(), dl, {VT, MVT::Other},
+            DAG.getNode(Opc, dl, {VT, MVT::Other},
                         {Chain, DAG.getNode(ISD::STRICT_FP_EXTEND, dl,
                                             {NVT, MVT::Other}, {Chain, Src})});
         Chain = Res.getValue(1);
       } else {
-        Res = DAG.getNode(N->getOpcode(), dl, VT,
-                          DAG.getNode(ISD::FP_EXTEND, dl, NVT, Src));
+        Res =
+            DAG.getNode(Opc, dl, VT, DAG.getNode(ISD::FP_EXTEND, dl, NVT, Src));
       }
       Results.push_back(Res);
       if (IsStrict)
@@ -33680,13 +33680,12 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
       }
 
       if (IsStrict) {
-        unsigned Opc =
-            IsSigned ? X86ISD::STRICT_CVTTP2SI : X86ISD::STRICT_CVTTP2UI;
+        Opc = IsSigned ? X86ISD::STRICT_CVTTP2SI : X86ISD::STRICT_CVTTP2UI;
         Res =
             DAG.getNode(Opc, dl, {ResVT, MVT::Other}, {N->getOperand(0), Src});
         Chain = Res.getValue(1);
       } else {
-        unsigned Opc = IsSigned ? X86ISD::CVTTP2SI : X86ISD::CVTTP2UI;
+        Opc = IsSigned ? X86ISD::CVTTP2SI : X86ISD::CVTTP2UI;
         Res = DAG.getNode(Opc, dl, ResVT, Src);
       }
 
@@ -33772,7 +33771,6 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
           return;
         }
 
-        unsigned Opc;
         if (IsStrict)
           Opc = IsSigned ? X86ISD::STRICT_CVTTP2SI : X86ISD::STRICT_CVTTP2UI;
         else
@@ -33811,7 +33809,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
       if (Src.getValueType() == MVT::v2f32 && IsStrict) {
         Src = DAG.getNode(ISD::CONCAT_VECTORS, dl, MVT::v4f32, Src,
                           DAG.getConstantFP(0.0, dl, MVT::v2f32));
-        SDValue Res = DAG.getNode(N->getOpcode(), dl, {MVT::v4i32, MVT::Other},
+        SDValue Res = DAG.getNode(Opc, dl, {MVT::v4i32, MVT::Other},
                                   {N->getOperand(0), Src});
         Results.push_back(Res);
         Results.push_back(Res.getValue(1));
@@ -33835,7 +33833,6 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
           std::max(NumElts, 128U / (unsigned)SrcVT.getSizeInBits());
       MVT VecVT = MVT::getVectorVT(MVT::i64, NumElts);
       MVT VecInVT = MVT::getVectorVT(SrcVT.getSimpleVT(), SrcElts);
-      unsigned Opc = N->getOpcode();
       if (NumElts != SrcElts) {
         if (IsStrict)
           Opc = IsSigned ? X86ISD::STRICT_CVTTP2SI : X86ISD::STRICT_CVTTP2UI;
@@ -33889,8 +33886,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
   case ISD::UINT_TO_FP:
   case ISD::STRICT_UINT_TO_FP: {
     bool IsStrict = N->isStrictFPOpcode();
-    bool IsSigned = N->getOpcode() == ISD::SINT_TO_FP ||
-                    N->getOpcode() == ISD::STRICT_SINT_TO_FP;
+    bool IsSigned = Opc == ISD::SINT_TO_FP || Opc == ISD::STRICT_SINT_TO_FP;
     EVT VT = N->getValueType(0);
     SDValue Src = N->getOperand(IsStrict ? 1 : 0);
     if (VT.getVectorElementType() == MVT::f16 && Subtarget.hasFP16() &&
@@ -33984,7 +33980,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
       // FIXME: Should generic type legalizer do this?
       Src = DAG.getNode(ISD::CONCAT_VECTORS, dl, MVT::v4i32, Src,
                         DAG.getConstant(0, dl, MVT::v2i32));
-      SDValue Res = DAG.getNode(N->getOpcode(), dl, {MVT::v4f32, MVT::Other},
+      SDValue Res = DAG.getNode(Opc, dl, {MVT::v4f32, MVT::Other},
                                 {N->getOperand(0), Src});
       Results.push_back(Res);
       Results.push_back(Res.getValue(1));

@phoebewang phoebewang merged commit 3146d57 into llvm:main Dec 11, 2024
10 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 11, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-ubsan running on sanitizer-buildbot10 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/85/builds/3198

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
ld: error: undefined reference due to --no-allow-shlib-undefined: __asan_set_shadow_f8
>>> referenced by /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test-suite-install/lib/libc++abi.so

ld: error: undefined reference due to --no-allow-shlib-undefined: __asan_stack_free_7
>>> referenced by /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test-suite-install/lib/libc++abi.so

ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)


FAILED: libcxx/test/CMakeFiles/check-cxx /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/CMakeFiles/check-cxx 
cd /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test && /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/bin/llvm-lit -sv --show-xfail --show-unsupported --param enable_benchmarks="no" /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild

@@@STEP_FAILURE@@@
@@@BUILD_STEP stage2/ubsan check@@@
ninja: Entering directory `llvm_build_ubsan'
[1/1169] Building CXX object lib/Testing/Annotations/CMakeFiles/LLVMTestingAnnotations.dir/Annotations.cpp.o
[2/1169] Linking CXX static library lib/libLLVMTestingAnnotations.a
[3/1169] Building CXX object tools/lld/unittests/AsLibELF/CMakeFiles/LLDAsLibELFTests.dir/SomeDrivers.cpp.o
[4/1169] Building CXX object tools/lld/unittests/AsLibAll/CMakeFiles/LLDAsLibAllTests.dir/AllDrivers.cpp.o
[5/1169] Building EnumsGenTest.cpp.inc...
[6/1169] Building EnumsGenTest.h.inc...
[7/1169] Building PassGenTest.h.inc...
[8/1169] Building CXX object tools/lld/unittests/AsLibELF/CMakeFiles/LLDAsLibELFTests.dir/ROCm.cpp.o
[9/1169] Building CXX object lib/Testing/Support/CMakeFiles/LLVMTestingSupport.dir/Error.cpp.o
[10/1169] Building CXX object lib/Testing/Support/CMakeFiles/LLVMTestingSupport.dir/SupportHelpers.cpp.o
[11/1169] Building CXX object third-party/unittest/UnitTestMain/CMakeFiles/llvm_gtest_main.dir/TestMain.cpp.o
[12/1169] Building CXX object tools/mlir/unittests/Dialect/AMDGPU/CMakeFiles/MLIRAMDGPUTests.dir/AMDGPUUtilsTest.cpp.o
[13/1169] Building CXX object tools/mlir/unittests/IR/CMakeFiles/MLIRIRTests.dir/Diagnostic.cpp.o
[14/1169] Building CXX object tools/mlir/unittests/Analysis/Presburger/CMakeFiles/MLIRPresburgerTests.dir/FractionTest.cpp.o
[15/1169] Building CXX object tools/mlir/unittests/Support/CMakeFiles/MLIRSupportTests.dir/IndentedOstreamTest.cpp.o
[16/1169] Building CXX object tools/mlir/unittests/Debug/CMakeFiles/MLIRDebugTests.dir/DebugCounterTest.cpp.o
[17/1169] Building CXX object tools/mlir/unittests/Analysis/Presburger/CMakeFiles/MLIRPresburgerTests.dir/UtilsTest.cpp.o
[18/1169] Building CXX object tools/mlir/unittests/Analysis/Presburger/CMakeFiles/MLIRPresburgerTests.dir/PresburgerSpaceTest.cpp.o
[19/1169] Building CXX object tools/mlir/unittests/IR/CMakeFiles/MLIRIRTests.dir/LocationTest.cpp.o
[20/1169] Building CXX object tools/mlir/unittests/Analysis/Presburger/CMakeFiles/MLIRPresburgerTests.dir/ParserTest.cpp.o
[21/1169] Building CXX object tools/mlir/unittests/IR/CMakeFiles/MLIRIRTests.dir/TypeTest.cpp.o
[22/1169] Building CXX object tools/mlir/unittests/IR/CMakeFiles/MLIRIRTests.dir/AttrTypeReplacerTest.cpp.o
[23/1169] Building C object tools/mlir/test/CAPI/CMakeFiles/mlir-capi-execution-engine-test.dir/execution_engine.c.o
[24/1169] Building CXX object tools/mlir/unittests/Analysis/Presburger/CMakeFiles/MLIRPresburgerTests.dir/LinearTransformTest.cpp.o
[25/1169] Building C object tools/mlir/test/CAPI/CMakeFiles/mlir-capi-irdl-test.dir/irdl.c.o
[26/1169] Building CXX object tools/mlir/unittests/Pass/CMakeFiles/MLIRPassTests.dir/PassPipelineParserTest.cpp.o
[27/1169] Building CXX object tools/mlir/unittests/Support/CMakeFiles/MLIRSupportTests.dir/StorageUniquerTest.cpp.o
[28/1169] Building CXX object tools/mlir/unittests/Interfaces/CMakeFiles/MLIRInterfacesTests.dir/InferIntRangeInterfaceTest.cpp.o
[29/1169] Building C object tools/mlir/test/CAPI/CMakeFiles/mlir-capi-pdl-test.dir/pdl.c.o
[30/1169] Building C object tools/mlir/test/CAPI/CMakeFiles/mlir-capi-llvm-test.dir/llvm.c.o
Step 10 (stage2/ubsan check-cxx) failure: stage2/ubsan check-cxx (failure)
...
>>> referenced by /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test-suite-install/lib/libc++abi.so

ld: error: undefined reference due to --no-allow-shlib-undefined: __asan_set_shadow_f8
>>> referenced by /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test-suite-install/lib/libc++abi.so

ld: error: undefined reference due to --no-allow-shlib-undefined: __asan_stack_free_7
>>> referenced by /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test-suite-install/lib/libc++abi.so

ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
FAILED: libcxx/test/CMakeFiles/check-cxx /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/CMakeFiles/check-cxx 
cd /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test && /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/bin/llvm-lit -sv --show-xfail --show-unsupported --param enable_benchmarks="no" /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild
Step 11 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85381 tests, 72 workers --
Testing: 
FAIL: Clang :: ARCMT/allowlisted/objcmt-with-allowlist-impl.m (46 of 85381)
******************** TEST 'Clang :: ARCMT/allowlisted/objcmt-with-allowlist-impl.m' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: rm -rf /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/ARCMT/allowlisted/Output/objcmt-with-allowlist-impl.m.tmp
+ rm -rf /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/ARCMT/allowlisted/Output/objcmt-with-allowlist-impl.m.tmp
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/20/include -nostdsysteminc -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype -objcmt-allowlist-dir-path=/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/ARCMT/allowlisted/Inputs /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/ARCMT/allowlisted/objcmt-with-allowlist-impl.m -triple x86_64-apple-darwin11 -migrate -o /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/ARCMT/allowlisted/Output/objcmt-with-allowlist-impl.m.tmp.remap
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/20/include -nostdsysteminc -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype -objcmt-allowlist-dir-path=/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/ARCMT/allowlisted/Inputs /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/ARCMT/allowlisted/objcmt-with-allowlist-impl.m -triple x86_64-apple-darwin11 -migrate -o /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/ARCMT/allowlisted/Output/objcmt-with-allowlist-impl.m.tmp.remap
RUN: at line 3: c-arcmt-test /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/ARCMT/allowlisted/Output/objcmt-with-allowlist-impl.m.tmp.remap | arcmt-test -verify-transformed-files /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/ARCMT/allowlisted/header1.h.result /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/ARCMT/allowlisted/objcmt-with-allowlist-impl.m.result
+ c-arcmt-test /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/ARCMT/allowlisted/Output/objcmt-with-allowlist-impl.m.tmp.remap
+ arcmt-test -verify-transformed-files /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/ARCMT/allowlisted/header1.h.result /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/clang/test/ARCMT/allowlisted/objcmt-with-allowlist-impl.m.result
==2087349==ERROR: AddressSanitizer failed to deallocate 0x15000 (86016) bytes at address 0xe79f28e20800 (error code: 22)
==2087349==Process memory map follows:
	0x000ffffff000-0x001200000000	
	0x001200000000-0x041200000000	
	0x041200000000-0x201000000000	
	0xb2ef2c110000-0xb2ef2c180000	/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/c-arcmt-test
	0xb2ef2c18f000-0xb2ef2c268000	/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/c-arcmt-test
	0xb2ef2c277000-0xb2ef2c27c000	/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/c-arcmt-test
	0xb2ef2c28b000-0xb2ef2c28f000	/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/c-arcmt-test
	0xb2ef2c28f000-0xb2ef2c883000	
	0xe47f25600000-0xe47f26109000	
	0xe47f26200000-0xe47f26210000	
	0xe47f26210000-0xe47f26a10000	
	0xe47f26c00000-0xe47f27400000	
	0xe47f27400000-0xe47f27500000	
	0xe47f27600000-0xe47f27700000	
	0xe47f27800000-0xe47f27900000	
	0xe47f27a00000-0xe47f28509000	
	0xe47f285cd000-0xe47f28620000	
	0xe47f28620000-0xe49f28e20000	
	0xe49f28e20000-0xe49f28e60000	
	0xe49f28e60000-0xe4ad28e20000	
	0xe4ad28e20000-0xe4ad28e60000	
	0xe4ad28e60000-0xe4af28e20000	
	0xe4af28e20000-0xe4af28e60000	
	0xe4af28e60000-0xe4bd28e20000	

@phoebewang phoebewang deleted the nfc branch December 11, 2024 07:52
Copy link
Collaborator

@RKSimon RKSimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants