[llvm] [IPSCCP] Infer attributes on arguments (PR #107114)

Alan Zhao via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 15:06:13 PDT 2024


alanzhao1 wrote:

> EDIT: clarification - at this point, I'm not sure if this is a bug in Chrome or in this patch.
> 
> FYI this is causing chrome's base_unittests to fail on Windows: https://crbug.com/369900509
> 
> code in question: https://crsrc.org/c/base/logging_unittest.cc;l=389-425;drc=11d26b01fde8090cf7ac9a0afd6426c7af4dd75a
> 
> The failure error message is:
> 
> ```
> logging_unittest.cc(423): Expected: (addr1) != (addr2), actual: 00C08AF3 vs 00C08AF3
> 
> [ RUN      ] LoggingTest.CheckCausesDistinctBreakpoints
> ..\..\base\logging_unittest.cc(423): error: Expected: (addr1) != (addr2), actual: 00C08AF3 vs 00C08AF3
> Stack trace:
> 	logging::`anonymous namespace'::LoggingTest_CheckCausesDistinctBreakpoints_Test::TestBody [0x00D28025+1301] (o:\base\logging_unittest.cc:423)
> 
> ..\..\base\logging_unittest.cc(424): error: Expected: (addr1) != (addr3), actual: 00C08AF3 vs 00C08AF3
> Stack trace:
> 	logging::`anonymous namespace'::LoggingTest_CheckCausesDistinctBreakpoints_Test::TestBody [0x00D28132+1570] (o:\base\logging_unittest.cc:424)
> 
> ..\..\base\logging_unittest.cc(425): error: Expected: (addr2) != (addr3), actual: 00C08AF3 vs 00C08AF3
> Stack trace:
> 	logging::`anonymous namespace'::LoggingTest_CheckCausesDistinctBreakpoints_Test::TestBody [0x00D2823F+1839] (o:\base\logging_unittest.cc:425)
> 
> [  FAILED  ] LoggingTest.CheckCausesDistinctBreakpoints (474 ms)
> ```

We no longer believe this is an issue with the compiler - see https://crbug.com/369900509#comment5

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


More information about the llvm-commits mailing list