[clang] [llvm] [IR] Require DataLayout for pointer cast elimination (PR #162279)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 06:04:54 PDT 2025


================
@@ -225,172 +219,6 @@ char *nullptr_allones_BAD(void) {
 
 //------------------------------------------------------------------------------
 
-char *one_var(unsigned long offset) {
----------------
nikic wrote:

After spending way too much time updating manually updating these tests, I decided to delete them altogether. I don't think they add any value over the generic tests (using non-constants) higher up, and just end up testing details of IRBuilder's constant folding behavior.

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


More information about the llvm-commits mailing list