diff options
author | hyeongyu kim <gusrb406@snu.ac.kr> | 2022-01-16 18:53:11 +0900 |
---|---|---|
committer | hyeongyu kim <gusrb406@snu.ac.kr> | 2022-01-16 18:54:17 +0900 |
commit | 1b1c8d83d3567a60280291c0adb95d1d60335509 (patch) | |
tree | d3b8732dd341eae61630b8fa52521dbba34769a5 /clang/test/CodeGenObjC/stret_lookup.m | |
parent | e7c8cd4a930465edd6c0ecbf3ad3119737988941 (diff) | |
download | llvm-1b1c8d83d3567a60280291c0adb95d1d60335509.zip llvm-1b1c8d83d3567a60280291c0adb95d1d60335509.tar.gz llvm-1b1c8d83d3567a60280291c0adb95d1d60335509.tar.bz2 |
[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default
Turning on `enable_noundef_analysis` flag allows better codegen by removing freeze instructions.
I modified clang by renaming `enable_noundef_analysis` flag to `disable-noundef-analysis` and turning it off by default.
Test updates are made as a separate patch: D108453
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D105169
Diffstat (limited to 'clang/test/CodeGenObjC/stret_lookup.m')
-rw-r--r-- | clang/test/CodeGenObjC/stret_lookup.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/stret_lookup.m b/clang/test/CodeGenObjC/stret_lookup.m index b97adac..4898420 100644 --- a/clang/test/CodeGenObjC/stret_lookup.m +++ b/clang/test/CodeGenObjC/stret_lookup.m @@ -21,9 +21,9 @@ void test0(void) { // HASSTRET-LABEL: define{{.*}} void @test0() // HASSTRET: [[T0:%.*]] = call i8* (i8*, i8*, ...)* @objc_msg_lookup_stret(i8* bitcast (i64* @_OBJC_CLASS_Test0 to i8*), // HASSTRET-NEXT: [[T1:%.*]] = bitcast i8* (i8*, i8*, ...)* [[T0]] to void (%struct.test*, i8*, i8*)* -// HASSTRET-NEXT: call void [[T1]](%struct.test* sret(%struct.test) {{.*}}, i8* bitcast (i64* @_OBJC_CLASS_Test0 to i8*), +// HASSTRET-NEXT: call void [[T1]](%struct.test* sret(%struct.test) {{.*}}, i8* noundef bitcast (i64* @_OBJC_CLASS_Test0 to i8*), // NOSTRET-LABEL: define{{.*}} void @test0() // NOSTRET: [[T0:%.*]] = call i8* (i8*, i8*, ...)* @objc_msg_lookup(i8* // NOSTRET-NEXT: [[T1:%.*]] = bitcast i8* (i8*, i8*, ...)* [[T0]] to void (%struct.test*, i8*, i8*)* -// NOSTRET-NEXT: call void [[T1]](%struct.test* sret(%struct.test) {{.*}}, i8* {{.*}}, i8* bitcast ([2 x { i8*, i8* }]* +// NOSTRET-NEXT: call void [[T1]](%struct.test* sret(%struct.test) {{.*}}, i8* {{.*}}, i8* noundef bitcast ([2 x { i8*, i8* }]* |