Author: Peter Collingbourne
Date: 2026-04-03T15:28:34-07:00
New Revision: 5c355ef216b20c9b80811987c7daf1fa27cf54cd

URL: 
https://github.com/llvm/llvm-project/commit/5c355ef216b20c9b80811987c7daf1fa27cf54cd
DIFF: 
https://github.com/llvm/llvm-project/commit/5c355ef216b20c9b80811987c7daf1fa27cf54cd.diff

LOG: Remove unnecessary -O1 from clang command.

It is generally inappropriate to pass -O flags to IRGen tests because
it makes them sensitive to optimizer behavior. #186548 makes a change to
optimizer behavior that would cause this test to fail without this change.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/190417

Added: 
    

Modified: 
    clang/test/CodeGenCXX/pfp-load-store.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCXX/pfp-load-store.cpp 
b/clang/test/CodeGenCXX/pfp-load-store.cpp
index bc947cdd0cf67..dfff744344992 100644
--- a/clang/test/CodeGenCXX/pfp-load-store.cpp
+++ b/clang/test/CodeGenCXX/pfp-load-store.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple aarch64-linux 
-fexperimental-pointer-field-protection-abi 
-fexperimental-pointer-field-protection-tagged -emit-llvm -O1 -o - %s | 
FileCheck %s
+// RUN: %clang_cc1 -triple aarch64-linux 
-fexperimental-pointer-field-protection-abi 
-fexperimental-pointer-field-protection-tagged -emit-llvm -o - %s | FileCheck %s
 
 int val;
 


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to