llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Peter Collingbourne (pcc)

<details>
<summary>Changes</summary>

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.


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


1 Files Affected:

- (modified) clang/test/CodeGenCXX/pfp-load-store.cpp (+1-1) 


``````````diff
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;
 

``````````

</details>


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

Reply via email to